Skip to content Skip to sidebar Skip to footer

Install_failed_no_matching_abis How To Overcome

When installing my app to Android L preview it fails with error: INSTALL_FAILED_NO_MATCHING_ABIS. My app uses arm only library, features that uses library is disabled on x86. It wo

Solution 1:

Posting this because I could not find a direct answer and had to look at a couple of different posts to get what I wanted done...

I was able to use the x86 Accelerated (HAXM) emulator by simply adding this to my Module's build.gradle script Inside android{} block:

splits {
        abi {
            enabletrue
            reset()
            include 'x86', 'armeabi-v7a'
            universalApk true
        }
    }

Run (build)... Now there will be a (yourapp)-x86-debug.apk in your output folder. I'm sure there's a way to automate installing upon Run but I just start my preferred HAXM emulator and use command line:

adb install(yourapp)-x86-debug.apk

Solution 2:

I think the thread starter wants build a single APK with an optional native libary, which will only be loaded on ARM devices. This seems impossible at the moment (only using splits/multi apk). I'm facing the same issue and have created a bug report.

Solution 3:

This problem also come with when working with unity also. The problem is your app uses ARM architecture and the device or emulator that you are trying to install the app support otherwise such as x86. Try installing it on ARM emulator. Hope that solves the problem.

Solution 4:

In your application.mk, try to add x86 at

APP_ABI := armeabi-v7a

and it should be look like this

APP_ABI := armeabi-v7a x86

Solution 5:

You can find your answer in INSTALL_FAILED_NO_MATCHING_ABIS when install apk

INSTALL_FAILED_NO_MATCHING_ABIS is when you are trying to install an app that has native libraries and it doesn't have a native library for your cpu architecture. For example if you compiled an app for armv7 and are trying to install it on an emulator that uses the Intel architecture instead it will not work.

Post a Comment for "Install_failed_no_matching_abis How To Overcome"