您的位置:首页 > 产品设计 > UI/UE

cordova---cordova build android命令报错,Command failed with exit code 1 Error output:

2017-07-15 11:17 4151 查看
报错:

FFILURE: Build failed with an exception .
What went wrong:

A problem occured configuring root project 'android ' .

You have not accepted the license agreements of the following SDK components ;
[Android SDK Platform 25].
Try :
Run with ...................................




重点就是:

[Android SDK Platform 25]

版本没有下载对。

如下解决:

1、cmd命令中输入 Android 。打开SDK Manager 。
2、找出SDK Platform 版本为25的包,安装,重新build 成功。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐