The Cocos2d-x 3.7.1 + ndk r10e project on Mac is trying to debug in Eclipse. Days pass and errors continue ...
I can create and run using coconut compilation and coconuts running with -p android -m debug -ndk-mode NDK_DEBUG = 1 from the terminal in proj.android.
My application runs fine (eventually) on my x86 emulator without any problems.
Entering "ndk-gdb" in the terminal from. /proj.android and I get an error
ERROR: Could not find gdb.setup in. / libs /
BUT the gdb.setup file (and gdbserver and libcocos2dcpp.so) can be seen in. /proj.android/libs/x86 !?
My AndroidManifest.xml includes android: debuggable = "true"
My jni / Application.mk includes APP_ABI: = x86 (only)
If someone tells me how I can diagnose or fix this problem, then I suppose I owe them a beer (in Yorkshire by the way)
UPDATE: I tried to start GDB using the --verbose flag. The output is displayed
Using gdb setup init: ./ libs / armeabi / gdb.setup
Using application directory: ./ obj / local / armeabi
Guess I need to change the settings / initialization file somewhere?
source
share