报错如下:
Failed to install the following Android SDK packages as some licences have not been accepted.
tools Android SDK Tools
build-tools;30.0.3 Android SDK Build-Tools 30.0.3
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.

看报错信息提示说是没有接受许可协议。
解决办法:
在AndroidStudio中设置里面找到Android sdk --> SDK Tools --> 安装Google Play Licensing Library 即可。

报错表明在安装AndroidSDK组件时,有许可协议未被接受。要解决这个问题,用户需要在AndroidStudio的设置中打开SDKManager,然后在SDKTools选项里安装GooglePlayLicensingLibrary并接受相关许可协议。
675

被折叠的 条评论
为什么被折叠?



