Genymotion Initialize Engine: failed in IntelliJ

ε祈祈猫儿з 提交于 2019-12-31 00:52:04

问题


I downloaded Genymotion and Genymotion IntelliJ plugin. I set Genymotion path in Intellij. Instructions: https://cloud.genymotion.com/page/doc/#collapse-intellij

When I try to relaunch plugin I get the following error:

4:36:22 PM Genymotion: Loading Genymotion library
4:36:22 PM Genymotion: Genymotion directory: /Applications/Genymotion.app/Contents/MacOS
4:36:22 PM Genymotion: Trying to initialize engine
4:36:23 PM Genymotion: Initialize Engine: failed

What am I doing wrong?


回答1:


Surprisingly not much on the internet about this. If you were to just run Genymotion (standalone) you'd get the nice error message:

Unable to load VirtualBox engine.

Make sure that you have installed it correctly before starting Genymotion.

For more information, refer to https://cloud.genymotion.com/page/faq#vbox

Unfortunately you won't see this in IntelliJ's Event Log. Once you install virtual box you should be all set.




回答2:


Download and install Virtual Box for your platform and it will work. Download from https://www.virtualbox.org/wiki/Downloads .




回答3:


First it seemed like the case is path to Genymotion, but this error is caused by a bug that does not let Genymotion plugin work with VirtualBox later than 4.2

To fix this error all you need to do is go here: https://www.virtualbox.org/wiki/Download_Old_Builds_4_2 and download the 4.2 version of VirtualBox. Once you reinstall it - the error is gone and Genymotion plugin opens device list properly




回答4:


With Genymotion 1.0.5 release, it works well VirtualBox 5.x on OSX platform. Please upgrade plugin to latest.

https://www.genymotion.com/#!/release-notes/253_p105




回答5:


So I have faced the same issue, been online searching for an answer with very little help. what I have done is, completely uninstall Genymotion and Vbox, did a restart of my machine, redownloaded, the newer version ( 2.5.4) of Genymotion with Vbox included from https://www.genymotion.com and then did a fresh install, this seems to have fixed the issue.



来源:https://stackoverflow.com/questions/19799612/genymotion-initialize-engine-failed-in-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!