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 中国大陆许可协议进行许可。

posted @   公众号python学习开发  阅读(855)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起