cocos打包出现 BUILD FAILED 问题
来源:互联网 发布:python dict 排序 编辑:程序博客网 时间:2024/06/03 15:53
问题如下:
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: The following error occurred
while
executing
this
line:
/Users/xxx/project/work/androidPackage/sdk/tools/ant/build.xml:950: null returned: 1
Error running command,
return
code: 1
这是由于你的资源文件中出现了中文命名的文件,AAPT是没有办法识别的, IOS是可以识别的,但是AAPT不行,所以最好不要使用中文命名任何文件或者文件夹。
意思是说文件和文件夹不能是中文命名。
0 0
- cocos打包出现 BUILD FAILED 问题
- cocos2d-x 3.6运行cocos run出现Ndk build failed解决办法
- eclipse打包APK出现 Errors occurred during the build问题
- Android Studio 打包项目时 出现因MissingTranslation导致Build Failed!
- Cocos打包移植Android平台问题集锦
- cocos Eclipse 打包。问题记录==
- cocos 安卓打包问题疑难杂症汇总
- 搭建go开发环境时,出现GoSublime error: MarGo build failed的问题
- uiautomator开发使用到第三方jar,出现class not found或者 BUILD FAILED的问题
- 解决安装rails时出现 ERROR: Failed to build gem native extension. 的问题
- Android Studio sync build.gradle 出现:Failed to resolve: com.android.support:appcompat 问题
- 使用cocos compile -p android时总是报错误 BUILD FAILED \ant\build.xml:892
- Sencha Touch用sencha app build native打包应用程序出现问题
- Maven父子项目打包子项目出现Failed to collect dependencies问题
- 【Android】AndroidStudio打包apk出现的一些问题 `Error:Execution failed for task ':app:lintVitalRelease'.
- AndroidStudio打包apk出现的问题 `Error:Execution failed for task ':app:lintVitalRelease'
- 如何解决打包的时候出现Execution failed for task ':app:transformClassesWithJarMergingForDebug'等问题
- AndroidStudio打包apk出现的一些问题 `Error:Execution failed for task ':app:lintVitalRelease'.
- Xcode上传成功后,itunes上却显示二进制文件无效的处理方法
- js 中跳出循环的方法及相互间的差异
- js的全局函数
- [问题记录]_OBJC_CLASS_$_ASIdentifierManager 错误
- 第20讲-项目一-小明借书
- cocos打包出现 BUILD FAILED 问题
- cocos2dx-js 动画
- 汇编新手代码(1)大写转小写
- mac - item2 快捷键大全,配色方案
- 厦门大学线下编程比赛第一题:求和
- UITableView 相关总结
- 强制折行
- 程序员思考
- C语言中register类型变量