gpt4 book ai didi

android - Phonegap错误android sdk build.xml :950 : null returned: 1

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:57:59 25 4
gpt4 key购买 nike

我试图在 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

我遵循了本指南 http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html但它不起作用。

这可能是什么原因造成的?

最佳答案

你很可能也得到这条线

invalid resource directory name: /YOUR/PROJECT/ROOT/PATH/bin/res/crunch

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

cd YOUR/PROJECT/ROOT/PATH

rm -fR $(find . -type d -name crunch|xargs)

关于android - Phonegap错误android sdk build.xml :950 : null returned: 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20699856/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com