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

When I try to install android app in API 26. I get this error.

I first tried with build tool version

- 25.3.1

meet the same problem as in the picture below.

enter image description here

and then I updated build tools version

to 26.0.1

and maintained the library version to 26.0.0

.

with the latest version of Google Play Services - 11.0.4

.

I checked to see if the android libraries I am using have native ie code, C ++ code, but every library library I have used is written in Java, expects one library with PHP, Python and Ruby bits.

I use

  • Google Maps
  • Google location
  • Google GCM.

I tried to include ABI Splits in my Gradle file as mentioned here

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

      

But every time the same error was encountered.

Details of the emulator device:

enter image description here

+3


source to share


1 answer


Based on this thread , this issue occurs when your application is using ARM architecture and a device or emulator that you are trying to install into the application otherwise, such as x86. Try installing it on an ARM emulator. Also, if your application is built with the ARMv7 architecture in mind, make sure to only use system images with the ABI: armeabi-v7a .

Additional links:



Hope this helps!

+2


source







All Articles