gpt4 book ai didi

android - 任务 ':app:desugarDebugFileDependencies' 执行失败

转载 作者:行者123 更新时间:2023-12-03 13:28:03 27 4
gpt4 key购买 nike

我正在尝试运行 Flutter 应用程序,但在控制台中不断获取此输出:

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重新安装这个文件夹,应用程序正常工作,没有提到的错误。

关于android - 任务 ':app:desugarDebugFileDependencies' 执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59509560/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com