您好,登錄后才能下訂單哦!
這兩天接觸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支持。
這兩個東西,真心難找,下了大半天總算找到了:
傳到網(wǎng)盤,分享出來,方便大家使用:
gapps-kk-20140105-signed.zip
Genymotion-ARM-Translation.zip
genymotion新版本拖拽zip到虛擬機(jī)已不能自動安裝,根據(jù)網(wǎng)上資料進(jìn)行安裝:
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,設(shè)置adb:setting->將默認(rèn)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在運(yùn)行一下下又不見啦……
希望看到的大牛不吝賜教,謝謝~
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。