* 出了什么问题:无法确定任务 ':app:compileDebugJavaWithJavac' 的依赖关系。 > 无法找到构建工具修订版 29.0.2

时间:2020-12-19 07:27:06

标签: android flutter

FAILURE:构建失败,出现异常。

出了什么问题: Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. Failed to find Build Tools revision 29.0.2

  • 试试: 使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。使用 --scan 运行以获得完整的见解。

  • https://help.gradle.org

    获得更多帮助

构建在 31 秒内失败 Exception: Gradle task assembleDebug failed with exit code 1

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:1)

我只是通过从 C:/User/Gustavo/ 中删除 .gradle 来修复它,我的情况是在我升级 flutter 版本时发生了这个问题