配置项目':CordovaLib'时发生问题 [英] A problem occurred configuring project ':CordovaLib'
问题描述
3秒内失败
cmd:
Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- 出了什么问题:配置项目"CordovaLib"时发生问题.
- What went wrong:
A problem occurred configuring project 'CordovaLib'.
在带有pref的ABI的NDK工具链文件夹中找不到工具链
No toolchains found in the NDK toolchains folder for ABI with pref
-
尝试:使用
-stacktrace
选项运行以获取堆栈跟踪.使用-infout
运行. Try: Run with
--stacktrace
option to get the stack trace. Run with--infout
.3秒内失败
[ERROR]运行子进程Cordova时发生错误.
cordova build android exited with exit code 1. Re-running this command with the --verbose flag may provide
推荐答案
将Android NDK更新到版本18时,我遇到了同样的问题.要解决此问题,您应该从以下位置下载Android NDK(修订版17c) https://developer.android.com/ndk/downloads/older_releases 然后使用SDK Manager删除NDK,然后将文件提取到android-sdk-location/ndk-bundle.
I had the same problem when updated Android NDK to version 18. To fix this you should download Android NDK (Revision 17c) from https://developer.android.com/ndk/downloads/older_releases Then delete NDK using SDK Manager, and extract files to android-sdk-location/ndk-bundle.
这篇关于配置项目':CordovaLib'时发生问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
- What went wrong:
A problem occurred configuring project 'CordovaLib'.