这两天接触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在运行一下下又不见啦……
希望看到的大牛不吝赐教,谢谢~
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。