Hello, friends.
I have developed a game with cocos2d-x.
This game has multiplayer feature so for IOS it uses GameKit and for android it uses Samsung Chord SDK.
But this is the problem.
My network module sometimes crashes. But I can’t find the reason why my game crashes.
I have read the cocos2d-x Learn manual of debugging cocos2d-x android project.
I have done according to the manual but It doesn’t work.
It always shows …
Unknown Application ABI:
Please tell me what is the problem. ps:It is urgent.
Regards. Franz
I can debug it with gdb but failed in eclipse.
About gdb, you could copy ndkgdb.sh from project in samples dir located in cocos2d-x package, my local path:
of course you must have added NDK_DEBUG=1 and set the application in AndroidManifest.xml be DEBUG just like this:
using gdb, I can stop on breakpoint and saw the values and check the stack, it’s almost perfect but my team members need visual mode for debug.
BTW, the way which quick check stack is http://cocos2d-x.org/forums/6/topics/20437, it’s much helper.
oh, sorry, let’s back to Unknown Application ABI: I meet it some days ago when I try to debug with gdb, it seems OK after I added “APP_ABI := armeabi” in Application.mk which under proj.android/jni/
And now, I saw it again when I try to make my game work in eclipse and still no way to clean it, hope anybody can tell us.
what we do now:
import source code as new project.
change it to c*+ project.
select the android gcc as default compiler in c*+ toolchains setting.
add ndk_debug=1 in make command.
No NDK_MODULE_PATH defined and I moved all cocos2dx to $NDKROOT/sources, so compile seems ok.
Unknown Application ABI: displayed in console but it seems just warning.
debug as Native android application but errors as .
Hi, Franz, your link help me much, I can go ahead now, debug is working.
I almost followed the steps one by one, although I didn’t use the native_build.sh. I linked the resources and classes dir followed the docs, although I didn’t use Resources and my classes dir already have correct link.
I have no idea about your error, good luck, maybe other guys could give u a hand.