I use android-sdk-r12m-r17m-linux.zip and android-ndk-r8-linux-x86.tar.bz2 to compile my android apk.
My compiling steps are:
android update project -p . --target 2
ndk-build APP_ABI=mips
ant debug
The output apk works well on my mips platform.
However, after I try ndk-gdb, I get the following error.
ERROR: The device does not support the application's targetted CPU ABIs!
Device supports: mips
Package supports: armeabi
ndk-gdbreadsAPP_ABIfromApplication.mkfile. Because you are passingAPP_ABIon commandline and you probably have emptryApplication.mkfile, it assumesAPP_ABIhas default value armeabi.Try creating
Application.mkfile and write insideAPP_ABI := mips