尝试向科尔多瓦添加平台时出错
日志输出
D:\hello>cordova platform add android -d
cordova library for "android" already exists. No need to download. Continuing.
Checking if platform "android" passes minimum requirements...
Checking Android requirements...
Running "android list target" (output to follow)
Available Android targets:
----------
id: 1 or "android-17"
Name: Android 4.2.2
Type: Platform
API level: 17
Revision: 2
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
ABIs : armeabi-v7a
----------
id: 2 or "android-19"
Name: Android 4.4
Type: Platform
API level: 19
Revision: 1
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
ABIs : armeabi-v7a
Running "android update project -p "C:\Users\Alen\.cordova\lib\android\cordova\3
.1.0\framework" -t android-17" (output to follow)...
Updated project.properties
Updated local.properties
build.xml: Found version-tag: custom. File will not be updated.
Updated file C:\Users\Alen\.cordova\lib\android\cordova\3.1.0\framework\proguard
-project.txt
Creating android project...
Running bin/create for platform "android" with command: ""C:\Users\Alen\.cordova
\lib\android\cordova\3.1.0\bin\create" "D:\hello\platforms\android" "com.exampl
e.hello" "HelloWorld"" (output to follow)
Error: An error occured during creation of android sub-project.
at C:\Users\Alen\AppData\Roaming\npm\node_modules\cordova\src\platform.js:24
6:30
at ChildProcess.exithandler (child_process.js:641:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
之前的sdk Path有问题。我想我修好了。
我怀疑 and 有问题
当我在 CLI 中输入 >java 时,它会显示
当我输入 >ant 时说“蚂蚁”无法识别。