Deming
Deming

Reputation: 1220

INSTALL_FAILED_NO_MATCHING_ABIS when installing a newer version of apk

UPDATE: I believe this is not because of apk version conflicts, because I removed emulator and rebuilt new one and same error occurs.

I'm trying to install a newer version of an apk in Android Studio 3.1.3. And I see the error:

enter image description here

I tried to uninstall old apk in Emulator and then wipe device data in Emulator Manager, and then reboot Android Studio But not helping, I still could not install apk with the same error. Request help, thanks!

Upvotes: 0

Views: 1237

Answers (2)

Pierre
Pierre

Reputation: 17417

The APK you are trying to install does not contain the native libraries that work on your device's or emulator's CPU architecture.

Look inside the APK for the available directories under "lib/", that will indicate which ABIs are supported. E.g. unzip -lv app.apk | grep "lib/"

Then compare this with the architectures supported by your device: adb shell getprop | grep abi

Upvotes: 1

Ankita
Ankita

Reputation: 1149

First, Disable Instant Run

To disable Instant Run -

Preferences > Build, Execution, Deployment > Instant Run

                   OR
  1. Clean your project
  2. Rebuild the project.
  3. Run your project without Instant run.

Upvotes: 0

Related Questions