我試圖按照以下鏈接創建一個Android的PhoneGap項目:http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html生成錯誤運行科爾多瓦平臺添加的android
但是,當我運行命令:
cordova platform add android
我得到以下輸出:
Checking Android requirements...
Creating android project...
[Error: An error occured during creation of android sub-project. Looks like your environment fully supports cordova-android development!
Creating Cordova project for the Android platform:
Path: platforms/android
Package: com.example.hello
Name: HelloWorld
Android target: android-17
Building cordova-3.2.0-rc1.jar
{ [Error: Command failed:
BUILD FAILED
/path/to/adt/sdk/tools/ant/build.xml:653: The following error occurred while executing this line:
/path/to/adt/sdk/tools/ant/build.xml:698: null returned: 127
Total time: 1 second
] killed: false, code: 1, signal: null }
]
有沒有人知道如何擺脫這個錯誤?
它工作! 謝謝=] – arthursfreire
@Darktalker可以請你幫助我的路徑,因爲我做了所有事情,仍然得到同樣的錯誤。 – oletob
@Darktalker你能告訴我,windows xp的解決方案是什麼.... –