[英]"License for package Android SDK Build-Tools 30.0.2 not accepted"
[英]Flutter app build failed License for package Android SDK Build-Tools 29.0.2 not accepted
Checking the license for package Android SDK Build-Tools 29.0.2 in /home/maruf/Android/Sdk/licenses Warning: License for package Android SDK Build-Tools 29.0.2 not accepted.
FAILURE:构建失败并出现异常。
未能安装以下 Android SDK 软件包,因为某些许可证尚未被接受。 build-tools;29.0.2 Android SDK Build-Tools 29.0.2 To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager. 或者,要将许可协议从一个工作站转移到另一个工作站,请参阅http://d.android.com/r/studio-ui/export-licenses.html
使用 Android SDK:/home/maruf/Android/Sdk
尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。 使用 --info 或 --debug 选项运行以获得更多日志 output。 运行 --scan 以获得完整的见解。
在https://help.gradle.org获得更多帮助
BUILD FAILED in 2s Exception: Gradle task assembleDebug failed with exit code 1
您可以尝试接受 flutter 医生的许可证吗?
flutter doctor --android-licenses
y
和ENTER
接受许可证
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.