深圳全飞鸿

标题: Failed to install the following Android SDK packages as some licences [打印本页]

作者: zhgc    时间: 2022-3-28 15:35
标题: Failed to install the following Android SDK packages as some licences

Failed to install the following Android SDK packages as some licences have not been accepted.
   build-tools;30.0.2 Android SDK Build-Tools 30.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: C:\Users\syant\AppData\Local\Android\Sdk



提示时有显示SDK的位置

直接进入SDK的tools\bin里

执行以下两个
sdkmanager --update  (这一个就可以了)
sdkmanager --licenses





欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/) Powered by Discuz! X3.2