cordova---cordova build android命令报错,Command failed with exit code 1 Error output:
2017-07-15 11:17
4151 查看
报错:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201907/31/9aab1af3436deada9bd5759e6116bf05)
重点就是:
[Android SDK Platform 25]
版本没有下载对。
如下解决:
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 成功。
相关文章推荐
- Cordova工程执行命令报错:platforms/android/gradlew: Command failed with exit code 1 Error output:
- [置顶] ionic2 打包Android时报错Error: cmd: Command failed with exit code 1 Error output: FAILURE: Build failed w
- Command /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings failed with exit code 1
- VS2013 Cordova blank app command failed with exit code 8 error
- Android NDK clang assembler command failed with exit code 1
- Cordova cannot add Android failed with exit code ENOENT
- Qt Creator错误:“command failed with exit code 9009, 'cl' 不是内部或外部命令,也不是可运行的程序”
- linker command failed with exit code 1 链接器命令失败,退出代码1解决
- linker command failed with exit code 1 (use -v to see invocation)
- pod 导入第三方 linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)
- Command /usr/bin/codesign failed with exit code 1
- 出现( linker command failed with exit code 1)错误总结
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- nodejs错误:ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Command /usr/bin/codesign failed with exit code 1错误的解决办法
- Xcode编译常见错误解决:linker command failed with exit code 1 (use -v to see invocation)
- Android Studio BUILD FAILED finished with non-zero exit value
- Command /usr/bin/codesign failed with exit code 1
- ld: 18 duplicate symbols for architecture i386 .linker command failed with exit code 1 (use -v to see invocation)_