mac安装genymotion遇到的问题记录
1.出错内容:An error occured while deploying the file或者使用adb devices连接的时候出现下面的错误
adb server version (40) doesn't match this client (41); killing...
修改方案都一样将genymotion自带的sdk替换成自己安装的。
genymotion-》reference-》settings
我的android sdk的路径:
/Users/chennan/Library/Android/sdk
2.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.
解决方法:
下载Genymotion-ARM-Translation-Librarities工具转换包。百度云下载:https://pan.baidu.com/s/1OvT-4obXvTIf-M5QGexcQA
下载后不要解压,直接拖进模拟器中
然后执行下面的命令,使文件生效
1. adb shell
2. cd /sdcard/Download/
3. sh /system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation.zip
重启genymotion
本文作者:公众号python学习开发
本文链接:https://www.cnblogs.com/c-x-a/p/11099446.html
版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步