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] Unknown Application ABI: [2012-10-04 12:09:12 - ndk_android] [2012-10-04 12:09:12 - ndk_android] Unable to detect application ABI's
The jni files build properly and I can run the application, with the native code.
My build file Application.mk looks like this:
APP_OPTIM := debug APP_ABI := armeabi armeabi-v7a APP_STL := gnustl_static LOCAL_LDLIBS := $(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/libgnustl_static.a
Does anyone know what the cause of this error is? Has anyone gotten Native debugging to work with ADT 20?
I'm following the guide from here: http://tools.android.com/recent/usingthendkplugin
EDIT:
After cleaning and removing temporary files/folders/settings I was still getting the same error. I then installed a clean Eclipse. Installed the CDT, then the ADT, and that seems to have fixed this problem. I believe the problem was with Sequoyah or another plugin/settings in Eclipse.
This was solved, but now I'm getting another problem. The breakpoints aren't working, but I'll keep that for another question.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With