AS在导入项目时,出现报错:ERROR: Failed to install the following Android SDK packages as some licences have not been accepted.
platforms;android-28 Android SDK Platform 28
build-tools;28.0.2 Android SDK Build-Tools 28.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: I:\SDK
Using this Xiongtai method, successfully resolved
https://blog.csdn.net/qq_34817440/article/details/100060319
1. First, cmd enters the tools / bin directory of the installation SDK
2. Execute the command sdkmanager --license to update the license file, the execution process needs to be confirmed many times, all y is executed in the end
3. Refresh Android studio