I am using the https://www.youtube.com/watch?v=kjsC-lKUgM8 tutorial to try and debug a simple NDK application. I did everything as it is in the video, except:
- I am using OS X 10.9.3 instead of Windows.
- I do not use
android:debuggable=true(because eclipse considers it to be an error) in AndroidManifest.xml instead I set the NDK path from Preferences->Android->NDKand to Project Properties -> C/C++ Buildunchecked Use default build commandand installed there ndk-build NDK_DEBUG=1 APP_OPTIM=debug. - I do not use
x86 emulator, but a Samsung Duos Sdevice withAndroid 4.0.4
But the breakpoiin that is used in the video does not fall into my case. I am trying to debug a simple NDK test project already on the 4th day. We studied a lot of materials:
- Android Native Development Kit Poker Book
- A bunch of forums and guides
- Video
But he can't get to any damned breakpoint. Please help if you can do this.
source
share