ERROR: Failed to install the following Android SDK packages as some licences have not been accepted.
platforms;android-27 Android SDK Platform 27
build-tools;28.0.3 Android SDK Build-Tools 28.0.3
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/haoyangruanjian/Library/Android/sdk
Install missing SDK package(s)
因为 Android SDK和 不匹配,需要Platform 27,Build-Tools 28.0.3
platforms;android-27 Android SDK Platform 27
build-tools;28.0.3 Android SDK Build-Tools 28.0.3
点击提示的链接,安装对应的SDK就可以编译通过了
网友评论