Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Genymotion2.8.1 prompts ARM when installing apk. X86. Exception handling

Shulou Source: shulou.com Published: 2022-06-03 03:38:14 10月01日 Update

These two days contact android studio, follow the tutorial, access to the genymotion simulator, version 2.8.1. The simulator I use is configured as google nuex4,android sdk4.4.4, and the tips for installing Wechat are as follows:

An error occured while deploying the file.

This probably means that the app contians ARM native code and you Genymotion device cannot run ARM instructions.You should either build your native code to x86 or install an ARM translation tool in your device.

Reference:

Https://forum.xda-developers.com/showthread.php?t=2528952

This is because the latest version of genymotion removes two modules: ARM translation and google apps support.

It was really hard to find these two things, but they were finally found after most of the day:

Upload it to the network disk, share it, and make it easy for everyone to use:

Gapps-kk-20140105-signed.zip

Genymotion-ARM-Translation.zip

The new version of genymotion drag and drop zip to the virtual machine can no longer be automatically installed, according to the online information to install:

D:\ Program Files\ Genymobile\ Genymotion\ tools > adb shell flash-archive.sh / sdcard/

Download/Genymotion-ARM-Translation.zip

Uid=0 (root) gid=0 (root)

/ sdcard/Download/Genymotion-ARM-Translation.zip seems to be a zip archive

[flash_archive] Creating tmp dir

Rm failed for / data/local/tmp/sanitized.zip, No such file or directory

[flash_archive] Unzip archive

Unzip: can't open / sdcard/Download/Genymotion-ARM-Translation.zip [.zip]

[ERROR] [unzip_archive_in_extract_dir] unzip failed: / sdcard/Download/Genymotion-

ARM-Translation.zip

{Result:KO}

It didn't work!

Finally, the solution that is not easy to find can be shared, hoping to help future generations:

Open genymotion, set adb:setting- > change the adb of the default genymotion to custom android sdk, and the path points to the local sdk installation path.

D:\ Program Files\ Genymobile\ Genymotion\ tools > adb push D:\ android_s

Tudio_tools\ Genymotion-ARM-Translation.zip / sdcard/Download/

[100%] / sdcard/Download/Genymotion-ARM-Transl

D:\ Program Files\ Genymobile\ Genymotion\ tools > adb shell flash-archive.sh / sdcard/

Download/Genymotion-ARM-Translation.zip

It was a hard-won success. Wechat and QQ were installed successfully.

Also, I don't know if it's the problem with my computer configuration or that the Wechat flashback won't open and the QQ will disappear after running for a while.

Hope to see Daniel do not hesitate to give advice, thank you ~

Tags: Success two not easy simulator path contact configuration prompt difficult to find don't hesitate to give advice things latecomers pointing tutorials programs the latest version modules versions computers Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Technology Xiaomi Shulou Tech Info NVidia