Let's enable debugging mode in our application first:
AndroidManifest.xml. Do not forget to use the appropriate SDK version for native code:
<?xml version="1.0" encoding="utf-8"?> <manifest ...> <uses-sdk android:minSdkVersion="10"/> <application ... android:debuggable="true"> ...
APP_OPTIMflag also controls debug mode. If it has been manually set in
Android.mk, then check that its value is set to
release) or simply remove it:
APP_OPTIM := debug ...