Search code examples
androidandroid-ndk

[INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]


I have an issue with third party libraries that are imported to my project.

I read quite a lot of articles about that but do not get any information how properly handle it.

I put my classes .so to the folder.

enter image description here

Problem is that the i try to run the app i receive

[INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

Solution

  • July 25, 2019 :

    I was facing this issue in Android Studio 3.0.1 :

    After checking lots of posts, here is Fix which works:

    Go to module build.gradle and within Android block add this script:

    splits {
        abi {
            enable true
            reset()
            include 'x86', 'x86_64', 'armeabi', 'armeabi-v7a', 'mips', 'mips64', 'arm64-v8a'
            universalApk true
        }
    }
    

    Simple Solution. Feel free to comment. Thanks.