赞
踩
本文翻译自:You have not accepted the license agreements of the following SDK components [duplicate]
This question already has an answer here: 这个问题已经在这里有了答案:
I downloaded the latest Android SDK tools version 24.4.1. 我下载了最新的Android SDK工具版本24.4.1。 I used the command line to install SDKs. 我使用命令行来安装SDK。 I typed y
when asked 当系统询问时我输入了y
Do you accept the license 'android-sdk-license-c81a61d9' [y/n]: y after that install succeeded. 成功安装后,您是否接受许可证'android-sdk-license-c81a61d9'[y / n]:y。
But when using Gradle 3.1 to build, the follows shows up 但是当使用Gradle 3.1进行构建时,将显示以下内容
You have not accepted the license agreements of the following SDK components: [Android SDK Platform 23, Android SDK Build-Tools 23.0.1]. 您尚未接受以下SDK组件的许可协议:[Android SDK Platform 23,Android SDK Build-Tools 23.0.1]。 Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. 在构建项目之前,您需要接受许可协议并使用Android Studio SDK Manager完成缺少组件的安装。 Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html 另外,要了解如何将许可协议从一
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。