Reputation: 1220
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:
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
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
Reputation: 1149
First, Disable Instant Run
To disable Instant Run -
Preferences > Build, Execution, Deployment > Instant Run
OR
Upvotes: 0