Error text
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
The native libraries (.so) in the APK do not match the phone's processor architecture. For example only arm64 is present while the emulator is x86.
adb shell getprop ro.product.cpu.abi.unzip -l app.apk | grep lib/.abiFilters.x86_64 or ARM system image.adb shell getprop ro.product.cpu.abi
unzip -l app.apk | grep "lib/"
android { defaultConfig { ndk { abiFilters += listOf("arm64-v8a", "armeabi-v7a", "x86_64") } } }Keep arm64-v8a and armeabi-v7a in release and x86_64 for testing.
Author and license: Nibras Code