报错信息:

Output file: C:\Users\xvGe\.genymotion-eclipse.log

Loading Genymotion library

Genymotion directory: C:\develop\Genymotion

Trying to initialize engine

Exception (VBoxManage): java.io.IOException: Cannot run program "C:\develop\Genymotion\/reg": CreateProcess error=2, 系统找不到指定的文件。

Initialize Engine: failed

 使用C语言代码编辑器创建.c文件,文件内容如下:

解决Eclipse安装Genymotion插件后抛异常的Bug_第1张图片


编译运行结果(这玩意都能猜出来... ...):


把这个reg.exe文件复制到Genymotion的安装目录即可。
正确启动信息:

Loading Genymotion library

Genymotion directory: C:\develop\Genymotion

Trying to initialize engine

Launch process: C:\develop\Genymotion\/reg.exe

Launch process: C:\develop\vBox\VBoxManage.exe --version

Initialize Engine: success

Launch process: C:\develop\vBox\VBoxManage.exe list vms

[SUCCESS] Process: C:\develop\vBox\VBoxManage.exe list vms

Listing virtual machines and found Genymotion virtual device...