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

前端 未结 5 642
南笙
南笙 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 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.

提交回复
热议问题