eclipse安装配置genymotion
网上的通过eclipse-help中的install new software,再输入网址http://plugins.genymotion.com/eclipse/的方案现在已经行不通了,这个网址已经打不开了。所以要通过手动的方式安装。
1,需要2个jar包
com.genymobile.genymotion.ide.eclipse.plugin.jar
com.genymobile.genymotion.lib.jar
网盘地址:链接:https://pan.baidu.com/s/1RM-eOkqxeXBPecKOPITR6w
提取码:cbq3
下载完毕后放在你的eclipse\plugins目录下,重启eclipse后,后会看到一个图标:
点击后会要求配置Genymotion directory,或者进入window-preferences中配置:
目录配置成你的Genymotion的安装目录,例如我的是:F:\Android\Genymobile\Genymotion
配置完,点图标启动报了一个异常:
Exception (VBoxManage): java.io.IOException: Cannot run program "D:\Android\Genymobile\Genymotion\/reg": CreateProcess error=2, 系统找不到指定的文件。
Initialize Engine: failed
这时要下载一个reg.exe文件并且把reg.exe复制进安装目录F:\Android\Genymobile\Genymotion
网盘地址:链接:https://pan.baidu.com/s/1csaVPxitRgDajn0ea2vPKA
提取码:3hes
配置完成后点击红圈内的图标
点击后:
这说明就配置成功了。
启动一个模拟器后,在eclipse中创建一个android工程在模拟器上运行。
点击run as android application后选择当前的模拟器:
然后: