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

产生场景 

Mac上安装Genymotion后,使用Genymotion安装安卓app,产生 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架构,在第三方市场上的应用有部分不采用x86这么一种架构,所以在编译的时候不通过,报“APP not installed”,可以下载Genymotion提供的ARM转换工具包,将应用市场中的ARM架构的apk转换成Genymotion可以编译的x86架构;

解决方案

下载Genymotion-ARM-Translation-Librarities工具转换包;下载路径:https://pan.baidu.com/s/1kUAftyR 。将下载好的工具包直接拖拽到Genymotion中,然后提示重启模拟器;

可是当使用Safari下载完成拖入后,并没有提示重启,于是我把这个文件压缩成zip文件重新拖入,可以是还是没有重启。于是猜测到应该是 原有的格式内容已经改变了,于是使用谷歌浏览下载该文件不会被解压,拖入后也是重启了。如果你没有谷歌浏览器则可以到 Safari -> 偏好设置 -> 通用 -> 最下方(下载后打开"安全的"文件的勾去掉),如下图:


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_第1张图片

如果解决了您的问题,请点赞

你可能感兴趣的:(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)