NDK Debug for Nexus 9 arm64-v8a does not work for eclipse

I keep getting the following error:

[2015-01-23 19:27:47 - NativeTestApp] Unable to find a compatible ABI [2015-01-23 19:27:47 - NativeTestApp] ABI supported by the application: armeabi [2015-01-23 19:27:47 - NativeTestApp] ABI supported by the device: arm64-v8a, null 

when my Application.mk is empty. When I have Application.mk and I set APP_ABI in arm64-v8a, all it says is:

 [2015-01-23 19:33:27 - NativeTestApp] Unknown Application ABI: [2015-01-23 19:33:27 - NativeTestApp] arm64-v8a [2015-01-23 19:33:27 - NativeTestApp] Unable to detect application ABI's 

It seems to me that the application wants to compile armeabi, but the target is arm64. It works great when not working as debugging.

+6
source share
2 answers

The problem was an inherent error with ndk-r10d and previous versions. This has been fixed with ndk-r10e, although it still does not work with eclipse since eclipse has its own ndk plugins. Google obviously intends to maintain ndk-gdb compatibility with the next version of Android Studio.

EDIT: Sources:

https://developer.android.com/ndk/downloads/index.html#rel

"Fixed ndk-gdb for 64-bit ABI (118300 release)."

+1
source

Debugging Native C / C ++ on 64-bit devices equipped with a processor is not supported by the latest official version of the ADT plug-in for Eclipse (23.0.7).

I managed to update the sources to get the NDK debugging work on arm64-v8a (Nexus 9).

Try this patched version: https://github.com/khaledev/ADT

+1
source

Source: https://habr.com/ru/post/981477/


All Articles