问题如下:
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不行,所以最好不要使用中文命名任何文件或者文件夹。
意思是说文件和文件夹不能是中文命名。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。