genymotion2.8.1安装apk时提示ARM……x86……异常处理

这两天接触android studio,跟着教程,接触到genymotion模拟器,版本2.8.1…… 本人使用的模拟器配置为:google nuex4,android sdk4.4.4,安装微信时提示如下:

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.

参考:

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

是由于最新版genymotion去除了两个模块:ARM translation和google apps支持。

这两个东西,真心难找,下了大半天总算找到了:

传到网盘,分享出来,方便大家使用:

gapps-kk-20140105-signed.zip

Genymotion-ARM-Translation.zip

genymotion新版本拖拽zip到虚拟机已不能自动安装,根据网上资料进行安装:

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};

不成功!!!


最终好不容易找到的解决方案,分享出来,希望帮助后来人:

打开genymotion,设置adb:setting->将默认genymotion的adb改为custom android sdk,路径指向本地sdk安装路径。

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

好不容易得来的成功哈哈哈,微信、QQ安装成功……


还有,不知道是我电脑配置的问题还是,竟然微信闪退打不开,QQ在运行一下下又不见啦……

希望看到的大牛不吝赐教,谢谢~




文章来自:http://zhuizhu779.blog.51cto.com/4679282/1896718
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3