Phonegap错误android sdk build.xml:950:null返回:1

its*_*sme 11 eclipse macos android android-sdk-tools cordova

我正在尝试在android sdk中启动phonegap android应用程序,但我收到一个错误:

[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] compiling Android...
   [error] An error occurred while building the android project.Error executing "ant debug -f "/Users/me/Projects/one/platforms/android/build.xml"": 
BUILD FAILED
/Applications/Android/adt-bundle-mac-x86_64-20131030/sdk/tools/ant/build.xml:932: The following error occurred while executing this line:
/Applications/Android/adt-bundle-mac-x86_64-20131030/sdk/tools/ant/build.xml:950: null returned: 1
Run Code Online (Sandbox Code Playgroud)

我遵循了本指南http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html,但它无法正常工作.

可能是什么导致了这个?

Aba*_*art 11

你很可能也得到这条线

无效的资源目录名称:/ YOUR/PROJECT/ROOT/PATH/bin/res/crunch

在错误代码之前,所以打开终端并输入以下内容:

cd YOUR/PROJECT/ROOT/PATH

rm -fR $(find . -type d -name crunch|xargs)
Run Code Online (Sandbox Code Playgroud)