Android NDK Debug Error Unknown application ABI, unable to detect application abi& #39; s solution

Source: Internet
Author: User

today, while debugging the Android NDK, the ADT console reported the error:

Unknown application ABI, unable to detect application Abi ' s

I've been searching the internet for a long time. Finally found the solution:

Create a new makefile type file under the JNI directory for project, with the file name called application.

(Note: If you do not know how to create a new makefile type of file, you can copy the Android.mk file from the JNI directory in situ.) Then rename it to application. You can change the contents of the APPLICATION.MK after you open it ).

For example, with:


Android NDK Debug Error Unknown application ABI, unable to detect application Abi ' sAndroid NDK Debug Error Unknown application ABI, unable to detect application Abi ' sAndroid NDK Debug Error Unknown application ABI, unable to detect application Abi ' s

Edit the Application.mk file to add, for example, the following two lines based on your emulator processor type and SDK level:

App_abi: = armeabi-v7a
App_platform: = android-16

Note: The app_platform here is the minimum supported SDK version number, corresponding to the android:minsdkversion in Androidmanifest.xml in your project. For example, my androidmanifest.xml is written in android:minsdkversion= "16". Write App_platform here : = android-16.

Once saved, once again compiled, will not be reported Unknown application Abi this error.

Android NDK Debug Error Unknown application ABI, unable to detect application abi& #39; s solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.