FAILURE:构建失败,出现异常。
出了什么问题:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. Failed to find Build Tools revision 29.0.2
试试: 使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。使用 --scan 运行以获得完整的见解。
构建在 31 秒内失败
Exception: Gradle task assembleDebug failed with exit code 1
答案 0 :(得分:1)
我只是通过从 C:/User/Gustavo/ 中删除 .gradle 来修复它,我的情况是在我升级 flutter 版本时发生了这个问题