I am trying to install an apk that contains armeabi-v7a native libraries, on an emulator with KVM enabled. When I try to install the apk on to the running device I am facing this error:
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
As per https://developer.android.com/studio/releases/emulator#30-0-0 the error above shouldn't occur on Android 9 or 11
Android 11 system images You can now create an AVD that runs Android 11 by selecting either of the available API level 30 system images:
x86: Includes both x86 and ARMv7 ABIs. x86_64: Includes x86, x86_64, ARMv7 and ARM64 ABIs. Support for ARM binaries on Android 9 and 11 system images If you were previously unable to use the Android Emulator because your app depended on ARM binaries, you can now use the Android 9 x86 system image or any Android 11 system image to run your app – it is no longer necessary to download a specific system image to run ARM binaries. These Android 9 and Android 11 system images support ARM by default and provide dramatically improved performance when compared to those with full ARM emulation.
My environment is
Ubuntu 18.04 (LTS)
Here are some of my setup commands:
sdkmanager --install "system-images;android-28;default;x86" "emulator" "platform-tools" "platforms;android-28" (at this step feel free to replace
Note I have tried with google-apis/playstore services and it allows the installation but fails at runtime.
avdmanager create avd -n "x86" -k "system-images;android-28;default;x86" (same steps of replacement apply)
emulator @x86 -no-boot-anim -noaudio -no-window -verbose -wipe-data -partition-size 1024 -qemu -enable-kvm
Is it something I'm missing? editing the
build.prop file doesn't help.