首页 > 代码库 > 转自[www.infoshare.cc]关于Genymotion各种坑

转自[www.infoshare.cc]关于Genymotion各种坑

转自:http://www.infoshare.cc/2016/10/18/%E5%85%B3%E4%BA%8Egenymotion%E5%90%84%E7%A7%8D%E5%9D%91.html

1、使用Genymotion安装APP时

报如下错误:

macbook$ adb install /Users/macbook/Documents/workspace/app/2.8.1_0231A.apk

[100%] /data/local/tmp/2.8.1_0231A.apk

pkg: /data/local/tmp/2.8.1_0231A.apk

Failure [INSTALL_FAILED_NO_MATCHING_ABIS]

解决方式:

下载Genymotion-ARM-Translation_v1.1.zip,下载地址:http://download.csdn.net/detail/victoria_vicky/9657049

将Genymotion-ARM-Translation_v1.1.zip拖到打开的Genymotion模拟器内,然后重启模拟器,再安装APP,即可成功

macbook$ adb install /Users/macbook/Documents/workspace/app/2.8.1_0231A.apk

[100%] /data/local/tmp/2.8.1_0231A.apk

pkg: /data/local/tmp/2.8.1_0231A.apk

Success

 

2、Eclipse安装Genymotion插件后,点击报如下错误

Genymotion directory: /Applications/Genymotion.app/Contents/MacOS

Trying to initialize engine

Initialize Engine: failed

Loading Genymotion library

解决方式:

命令行输入:

sudo ln -s /usr/local/bin/VBoxManage /usr/bin/VBoxManage

然后再点击Genymotion按钮,即可成功打开

参考链接地址:https://groups.google.com/forum/#!topic/genymotion-users/MnrANs_FMBs

转自[www.infoshare.cc]关于Genymotion各种坑