[英]How to fix this error 'app:compiledebugjavawithjavac ' in flutter
I have installed flutter and vscode also I have used android SDk comand line tool and Java Jdk8.我已经安装了 flutter 和 vscode 我也使用了 android SDk 命令行工具和 ZD52387880E1EA22817A72Ddk875Z JD52387880E1EA22817A72Ddk877.2 I was trying to run my first flutter app which comes by default in flutter on my Moto G 5 Plus real android device, but this error occurred.我试图在我的 Moto G 5 Plus 真正的 android 设备上运行我的第一个 flutter 应用程序,该应用程序默认出现在 flutter 中,但是发生了这个错误。
'''Launching lib\main.dart on Moto G 5 Plus in debug mode... '''在调试模式下在 Moto G 5 Plus 上启动 lib\main.dart...
FAILURE: Build failed with an exception. FAILURE:构建失败并出现异常。
Failed to find Build Tools revision 29.0.2找不到构建工具修订版 29.0.2
Try: Run with --stacktrace option to get the stack trace.尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output.使用 --info 或 --debug 选项运行以获得更多日志 output。 Run with --scan to get full insights.运行 --scan 以获得完整的见解。
Get more help at https://help.gradle.org在https://help.gradle.org获得更多帮助
BUILD FAILED in 3m 21s Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm)'''在 3m 21s 内构建失败异常:Gradle 任务 assembleDebug 失败,退出代码为 1 退出(sigterm)'''
Please help me to solve this problem请帮我解决这个问题
Solution解决方案
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.