Reputation: 159
When trying to debug android NDK code in eclipse I get this error:
[2014-08-20 11:33:26 - HelloJni] Unknown Application ABI:
[2014-08-20 11:33:26 - HelloJni]
[2014-08-20 11:33:26 - HelloJni] Unable to detect application ABI's
There are 3 other people who also work on the same code but don't have this issue (it only happens on my computer).
Eclipse Luna 4.4.0 Android NDK r10, the Windows 32-bit package ADT plugin version 23.0.3
I have tried deleting eclipse and reinstalling it along with CDT and the ADT plugin. I've also tried to debug the HelloJni sample from the ndk with the same error.
When I run "ndk-build DUMP_APP_ABI" I get this:
D:\Android\android-ndk\samples\hello-jni>ndk-build DUMP_APP_ABI
all
D:\Android\android-ndk\samples\hello-jni>
Is there anything else known that could cause this problem?
EDIT
my Application.mk looks like this
APP_ABI := all
APP_PLATFORM := android-14
Upvotes: 5
Views: 3226
Reputation: 1031
Add APP_PLATFORM to your android.mk file. Also make sure you have set your NDK path correctly on Preferences->Android->NDK.
Upvotes: 1
Reputation: 5857
open the Application.mk and set APP_PLATFORM to the appropriate value e.g.:
APP_PLATFORM := android-11
This usually does it for me
In some cases you might also need to explicitly set the APP_ABI var, e.g.:
APP_ABI=armeabi
Upvotes: 0