我试图按照以下链接创建一个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的解决方案是什么.... –