Unable to install apk in android emulator. App contains ARM native code

Viewed 17053

I downloaded an apk and tried to install it by dragging into the genymotion emulator. And got this error

An error occured while deploying the file.
This probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions.
3 Answers

You need to install ARM translation on the emulated device:

  • Download the right ARM translation archive for your device’s Android version. For Android 8, I used ARM_Translation_Oreo.zip. (Download Link)

  • Drag and drop the .zip file to the device’s unlocked screen and click on OK when asked for confirmation

Now you should be able to install any app even if it has ARM code. GoodLuck!

Download the zip file over here, drag the file into genymotion and run these commands. https://github.com/m9rco/Genymotion_ARM_Translation

  adb shell
  cd /sdcard/Download/
  sh /system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation.zip
  adb reboot
Related