报错如下:
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 即可。