问题如下:
BUILD Failed
/Users/daidan/Documents/android/adt/sdk/tools/ant/build.xml:932: The following error occurred while executing this line:
/Users/daidan/Documents/android/adt/sdk/tools/ant/build.xml:950: null returned: 1
Total time: 12 seconds
Error running command,return code: 1
解决方法:
注释掉project.properties文件中的#android.library.reference.1=../cocos2d/cocos/platform/android/java
如不行请看以下解决方案:
6.BUILD Failed
出现build.xml:932 build.xml:950
1
2
3
|
/Users/xxx/project/work/androidPackage/sdk/tools/ant/build.xml:932:Thefollowingerroroccurred
while
executing
this
line:
/Users/xxx/project/work/androidPackage/sdk/tools/ant/build.xml:950:nullreturned:1
Errorrunningcommand,
return
code:1
|
这是由于你的资源文件中出现了中文命名的文件,AAPT是没有办法识别的, IOS是可以识别的,但是AAPT不行,所以最好不要使用中文命名任何文件或者文件夹。
原文链接:https://www.f2er.com/cocos2dx/342899.html