March 2013
Intermediate to advanced
346 pages
8h 4m
English
Android NDK introduces a shell script named ndk-gdb to help
one to launch a debugging session to debug the native code.
The project must meet the following requirements in order to debug it with ndk-gdb:
ndk-build command.AndroidManifest.xml has the android:debuggable attribute of the <application> element set to true. This indicates that the application is debuggable even when it is running on a device in the user mode.Please read the Building Android NDK Application at Eclipse recipe before going through this one.
The following steps create a sample Android project and debug ...