安卓打包时遇到的问题
来源:15-3 集成与打包Android应用

启蒙前端
2021-08-06
What went wrong:
Could not determine the dependencies of task ‘:app:compileReleaseJavaWithJavac’.
Failed to install the following Android SDK packages as some licences have not been accepted.
platforms;android-30 Android SDK Platform 30
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.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Using Android SDK: /Users/zhangmeng/Library/Android/sdk
2回答
-
启蒙前端
提问者
2021-08-07
嗯,还有个问题,每次打包时,没有权限,都会被拒绝,需要加 sudo,这个有方法修改吗
032021-08-09 -
CrazyCodeBoy
2021-08-07
用as打开项目下的Android项目然后 下载和安装下build-tools;29.0.2 Android 30 SDK。
00
相似问题