cocos2d-x
铺子
这个作者很懒,什么都没留下…
展开
-
cocos2d-x make: *** [clean-box2d_static-armeabi] Error 1
ndkr8e的一个bug,修改android-ndk-r8e/build/core/build-binary.mkPlain Text code$(cleantarget): PRIVATE_CLEAN_FILES := ($(my)OBJS)为:$(cleantarget): PRIVATE_CLEAN_FILE转载 2013-08-05 10:51:07 · 692 阅读 · 0 评论 -
java.lang.UnsatisfiedLinkError: Couldn't load XXX from loader
http://liuzhichao.com/p/1463.html转载 2014-06-20 12:46:15 · 747 阅读 · 0 评论 -
cocos2d-x i9100 音效过多闪退问题不完美解决方案
cocos2dx/cocos2d-x-2.1.5/CocosDenshion/android/opensl/SimpleAudioEngineOpenSL.cppunsigned int SimpleAudioEngineOpenSL::playEffect(const char* pszFilePath, bool bLoop){ unsigned int soundI原创 2014-06-14 14:09:59 · 1161 阅读 · 0 评论 -
When update to Xcode 5.1, an error occur '__curl_rule_01__' declared as an array with a negative siz
http://www.cocos2d-x.org/forums/6/topics/47114转载 2014-03-27 15:10:06 · 1048 阅读 · 0 评论 -
cocos2d-x 2.1.5 CCLabelTTF使用unicode操作符创建时crash的解决方案
Java代码修改:Cocos2dxBitmap.java line.148if (textProperty.mMaxWidth + (int)bitmapPaddingX || bitmapTotalHeight + (int)bitmapPaddingY Cocos2dxBitmap.nativeInitBitmapDC(0, 0, new byte[0]);retu原创 2014-03-16 16:59:55 · 1958 阅读 · 0 评论 -
The container 'Android Dependencies' references non existing library
把引入的项目Is Libaray选项勾掉 然后再勾上原创 2014-03-07 18:49:45 · 3985 阅读 · 0 评论 -
老版本cocos2dx ZipUtils解压比较大文件时数据出错的BUG
https://github.com/cocos2d/cocos2d-x/pull/3615转载 2014-03-08 22:22:54 · 1481 阅读 · 0 评论 -
cocos2d-x中各种诡异BUG的一个原因
voidCCObject::release(void){ CCAssert(m_uReference > 0, "reference count should greater than 0"); --m_uReference; if (m_uReference == 0) { delete this; }原创 2014-01-03 10:32:35 · 911 阅读 · 0 评论 -
CCHttpClient发送数据时断网导致闪退的解决方法
http://www.cocos2d-x.org/forums/6/topics/38239?r=38328#message-38328在HttpClient.cpp的configCURL方法中添加 code = curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1); if (code != CURLE_OK) {转载 2013-11-13 15:12:31 · 1171 阅读 · 0 评论 -
NoClassDefFoundError - Eclipse添加jar包后报错
项目属性设置 -> Java Build Path -> Add External JARs... 把jar加进去原创 2013-08-08 17:27:56 · 749 阅读 · 0 评论 -
Eclipse 中 please define NDK_ROOT 错误提示
转载 2013-08-05 12:15:28 · 1593 阅读 · 0 评论 -
Bug in Cocos2dxRenderer.cpp
http://discuss.cocos2d-x.org/t/bug-in-cocos2dxrenderer-cpp/8619Java_org_cocos2dx_lib_Cocos2dxRenderer.cpp这个cpp的所有方法里都给加上NULL的判断: JNIEXPORT void JNICALL Java_org_cocos2dx_lib_Cocos2dxRende转载 2014-10-27 15:58:01 · 943 阅读 · 0 评论