Unable to detect application ABI's when trying to debug NDK

前端 未结 5 638
南笙
南笙 2020-12-16 10:59

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]          


        
相关标签:
5条回答
  • 2020-12-16 11:35

    Go to Preferences -> Android -> NDK. You set a correct path for that, it will work. That way works for me.

    0 讨论(0)
  • 2020-12-16 11:49

    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.

    0 讨论(0)
  • 2020-12-16 11:55

    I had this error when used NDK r16b, fixed when switched to r10e.

    0 讨论(0)
  • 2020-12-16 11:59

    Try to cleanup the OBJ and libs directories, and only build one ABI. For example, add APP_ABI=armeabi next to NDK_DEBUG=1

    0 讨论(0)
  • 2020-12-16 12:00

    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.

    0 讨论(0)
提交回复
热议问题