INSTALL_FAILED_NO_MATCHING_ABIS how to overcome

android

Solution

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 {
            enable true
            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

Problem

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 works perfectly before Android L, but now i can't even install it. How to disable this error for my app?

Original source

Related problems