Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting "Unknown Application ABI" when trying to debug some C code in my Android app

I'm trying to debug C code in my Android app, following the instruction given here, but I when I do "Debug as/Native application" I get Unknown Application ABI.

I checked that my NDK path is set correctly as suggested here and I added the DUMP_APP_ABI option to ndk-build as suggested here.

Anybody can help?

[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] Android
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] NDK:
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] WARNING:
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] APP_PLATFORM
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] android-14
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] is
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] larger
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] than
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] android:minSdkVersion
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] 10
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] in
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] ./AndroidManifest.xml
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] 
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] 
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] 
[2013-08-15 11:16:14 - MyProject] Unknown Application ABI: 
[2013-08-15 11:16:14 - MyProject] 
armeabi
[2013-08-15 11:16:14 - MyProject] Unable to detect application ABI's
like image 577
jul Avatar asked Aug 15 '13 03:08

jul


1 Answers

It was apparently due to the subliminal message shown between the Unknown Application ABI lines. So I added

APP_PLATFORM := android-10

to my Android.mk, and it works.

like image 194
jul Avatar answered Sep 23 '22 02:09

jul