你好我試圖創建我與PhoneGap的第一個應用程序,但是當我運行「PhoneGap的運行Android的」扔我的錯誤:錯誤與科爾多瓦盯着:命令執行失敗:螞蟻的jar
[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] adding the Android platform...
[error] An error occured during creation of android sub-project. Creating Cordova project for the Android platform:
Command failed to execute : ant jar
當我使用科爾多瓦-d平臺添加的android:
Creating android project...
Running bin/create for platform "android" with command: ""C:\Users\Fernando\.cordova\lib\android\cordova\3.1.0\bin\create" "C:\Users\Fernando\Desktop\phonegap_examples\hello_phonegap\platforms\androi
d" "com.phonegap.helloworld" "HelloWorld"" (output to follow)
Creating Cordova project for the Android platform:
Error: An error occured during creation of android sub-project. Creating Cordova project for the Android platform:
Command failed to execute : ant jar
at C:\Users\Fernando\AppData\Roaming\npm\node_modules\cordova\src\platform.js:246:30
at ChildProcess.exithandler (child_process.js:636:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:730:16)
at Process.ChildProcess._handle.onexit (child_process.js:797:5)
在我的路上,我說:
C:\apache-ant-1.9.2\bin;
C:\Program Files\adt_Android\sdk\platform-tools;
C:\Program Files\adt_Android\sdk\tools
我不知道我在想什麼,我搜索了一下,但我沒有找到任何東西。