1、安装模拟手机设备下载太慢:
C:\Users\Administrator\AppData\Local\Genymobile,该路径下的genymotion.log文件打开,找到如下图所示下载记录,复制后面的路径使用迅雷进行下载。
下载完成后,将下载的.ova文件放置“C:\Users\Administrator\AppData\Local\Genymobile\Genymotion\ova”路径下,然后使用Genymotion客户端重新导入该设备。
2、模拟界面无法安装应用:
Error:An error occured while deploying the file.
This probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions. You should either build your native code to x86 or install an ARM translation tool in your device
由于Genymotion是一款基于x86架构的Android模拟器,而大部分应用是arm架构,因此两者不兼容。需要安装Genymotion-ARM-Translation.zip。切记注意版本号需要对应
方式一:直接鼠标拖拽到模拟机客户端中。win10不能使用管理员方式,否则无法拖拽
方式二:cmd命令窗口中运行命令:
(1)cd 进入android-sdk-windows\platform-tools文件夹下
(2)adb push E:\Android\Genymotion-ARM-Translation.zip.zip /sdcard/Download/
(3)adb shell flash-archive.sh /sdcard/Download/GenymotionARM.zip
第(2)句话: 意思是将Genymotion-ARM-Translation.zip.zip文件导入到模拟器的/sdcard/Download/目录下
第(3)句话:安装该zip
问题1:前提条件需要将模拟机状态开启。否则提示:adb: error: failed to get feature set: no devices/emulators found
问题2:运行第(3)句命令,提示:
chmod: updater: No such file or directory
[ERROR][execute_update_binary] execution of update-binary ended with errors
说明模拟器系统版本与Genymotion-ARM-Translation.zip不对应