生成apk文件遇到的编译问题error: format not a string literal and no format arguments
来源:互联网 发布:java中的对象 编辑:程序博客网 时间:2024/05/21 19:21
编译错误时使用的android-ndk为r9的版本,报以下错误:
"Compile++ thumb : cocosdenshion_static <= SimpleAudioEngine.cpp""/Users/linyou/Documents/cocos2d-x/F10Attack/proj.android/../../CocosDenshion/android/SimpleAudioEngine.cpp: In constructor 'CocosDenshion::SimpleAudioEngine::SimpleAudioEngine()':/Users/linyou/Documents/cocos2d-x/F10Attack/proj.android/../../CocosDenshion/android/SimpleAudioEngine.cpp:77:2: error: format not a string literal and no format arguments [-Werror=format-security]""cc1plus: some warnings being treated as errors"
原因是r9版本的问题,换成r8版本的就OK了
0 0
- 生成apk文件遇到的编译问题error: format not a string literal and no format arguments
- error: format not a string literal and no format arguments
- error: format not a string literal and no format arguments
- error: format not a string literal and no format arguments [-Werror=format-security]
- :error: format not a string literal and no format arguments [-Werror=format-security]
- error: format not a string literal and no format arguments [-Werror=format-security];
- format not a string literal and no format arguments
- format not a string literal and no format arguments
- format not a string literal and no format arguments
- format not a string literal and no format arguments
- format not a string literal and no format arguments
- android 下 Error format not a string literal and no format arguments 解决方案
- Error format not a string literal and no format arguments解决方案
- Error format not a string literal and no format arguments解决方案
- Error format not a string literal and no format arguments解决方案
- Error format not a string literal and no format arguments解决方案
- Error format not a string literal and no format arguments解决方案
- cocos2dx android版本移植时的Error format not a string literal and no format arguments解决方案
- oralce 查看表空间使用情况
- C++中assert的用法
- ORACLE的卸载
- Android 使用XML隐藏ActionBar中遇错的解决办法
- css rgba
- 生成apk文件遇到的编译问题error: format not a string literal and no format arguments
- 多动脑 然后少动手的一次经历
- Scrum中的User Story
- IOS-IOS7适配代码
- Spring事务传播机制
- SAP在公网上提供了免费的开发测试用OData服务
- Eclipse的自动代码格式化相关
- nl命令
- Android开发规范