您好,欢迎来到知库网。
搜索
您的当前位置:首页An error occured while deploying

An error occured while deploying

来源:知库网

产生场景 

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架构;

解决方案

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

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

Copyright © 2019- zicool.com 版权所有 湘ICP备2023022495号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务