我想在Android SDK中推出的PhoneGap Android應用程序,但我收到一個錯誤:PhoneGap的錯誤Android SDK中的build.xml:950:空返回:1
[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
我按照本指南http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html但它不工作。
這是什麼原因造成的?
我在macosx上錯誤仍然存在:( – sbaaaang
950行是ignoreAssets =「$ {aapt.ignore.assets}」你確定你已經爲Cordova正確配置了資產嗎?查看https:// github .com/dev-mobile/cordova-starter/blob/master/android_cordova_starter/build.xml – LoungeKatt
很好的解決方案! – confile