Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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 ~

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report