Failed to install the following Android SDK packages as some licences have not been accepted. bu

报错信息

Android 开发者工具、Android开发者构建工具28.0.3、Android开发者平台28的协议都没有被接受。
在这里插入图片描述

Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;28.0.3 Android SDK Build-Tools 28.0.3
tools Android SDK Tools
platforms;android-28 Android SDK Platform 28
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\Administrator\AppData\Local\Android\Sdk
Install missing SDK package(s)

解决方法

1、点击上图右侧的蓝色链接Install missing SDK packages,或者Tools——>SDK Manager,就会跳到下面的安装界面。选择Accept接受,然后Next。
在这里插入图片描述
2、等待下载和解压完成。
在这里插入图片描述
3、可以看到缺少的3大工具都安装好了。
在这里插入图片描述

4、再次同步,构建成功,问题解决!
在这里插入图片描述

每个人的时间都是相同的,如果你提高了效率,那么你的时间就会多很多。

猜你喜欢

转载自blog.csdn.net/qq_42257666/article/details/130543572