- 博客(2)
- 收藏
- 关注
原创 C++ 调用 Java 返回String类型
java代码private static String getString(){return string;}C++代码static string getDeviceModelJNI() { string retValue = "";#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
2015-12-09 16:29:16
542
转载 cocos2dx移植编译报错
1.error: format not a string literal and no format arguments[-Wrror=format-security];原因:android-ndk-r9与Eclipse版本不兼容解决方案:a. 在该项目的proj.android/jni/Application.mk文件中添加一句话:APP_CFLAGS += -Wno-error=for
2015-11-09 15:53:23
236
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅