I\'m trying to debug an Android application with native code using ADT 20.0.3 on Eclipse and it\'s giving me this error:
[2012-10-04 12:09:12 - ndk_android]
Go to Preferences -> Android -> NDK. You set a correct path for that, it will work. That way works for me.
I believe the problem was with Sequoyah or another plugin/settings in Eclipse. I installed a clean Eclipse. Installed the CDT, then the ADT, and that seem fixed this problem.
I had this error when used NDK r16b, fixed when switched to r10e.
Try to cleanup the OBJ and libs directories, and only build one ABI. For example, add APP_ABI=armeabi next to NDK_DEBUG=1
I solved the problem by adding the APP_PLATFORM entry in Application.mk file as well as make sure the same min sdk version mentioned in manifest file.
For example, in my case, APP_PLATFORM:=21 added to Application.mk file added to manifest file.
Also you required to keep the break point in jni function definition not at jni native function declarations at java side.
Hope it helps.