Cordova build android秀;您尚未接受以下SDK组件的许可协议;
我是,在Ionic3项目上工作。当使用cordova build android构建应用程序时,其显示此错误 失败:生成失败,出现异常Cordova build android秀;您尚未接受以下SDK组件的许可协议;,android,cordova,gradle,ionic2,android-gradle-plugin,Android,Cordova,Gradle,Ionic2,Android Gradle Plugin,我是,在Ionic3项目上工作。当使用cordova build android构建应用程序时,其显示此错误 失败:生成失败,出现异常 * What went wrong: A problem occurred configuring root project 'android'. > You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tool
* What went wrong:
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 26.0.1, Android SDK Platform 25].
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.
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
我遵循了与这类错误相关的答案。但它仍然显示了这个错误
我遵循以下步骤来克服错误
ANDROID\u HOME
目录更多信息来自@Niroshan8889打开您的android sdk管理器,安装android sdk构建工具26.0.1和android sdk平台25。在安装过程中,您必须手动接受许可证,这应该是我已经成功安装了sdk工具,但还是解决了这个问题。