任务':app:desugarDebugFileDependencies'的执行失败 [英] Execution failed for task ':app:desugarDebugFileDependencies'
本文介绍了任务':app:desugarDebugFileDependencies'的执行失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试运行Flutter应用程序,但始终在控制台中获得以下输出:
I'm attempting to run a Flutter application, but keep getting this output in the console:
Launching lib/main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:desugarDebugFileDependencies'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> /home/(username)/Android/Sdk/build-tools/28.0.3/core-lambda-stubs.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 41s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
推荐答案
我正在使用linux mint,就我而言,我去了: /home/(用户名)/Android/Sdk/build-tools/ 并删除文件夹"28.0.3" . 然后运行该应用程序,然后android studio重新安装此文件夹,该应用程序可以正常运行而不会出现上述错误.
I'm using linux mint,in my case I went to: /home/(username)/Android/Sdk/build-tools/ and delete the folder "28.0.3". Then run the application and android studio reinstall this folder, and the application works correctly without the error mentioned.
这篇关于任务':app:desugarDebugFileDependencies'的执行失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文