Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Loading Genymotion library Genymotion directory: /Applications/Genymotion.app/Contents/MacOS Trying to initialize engine Initialize Engine: failed

the problem is same as topic

Loading Genymotion library
Genymotion directory: /Applications/Genymotion.app/Contents/MacOS
Trying to initialize engine
Initialize Engine: failed

I have installed virtualbox 5.0.0 and successfully executed. If I directly run the genymotion app, it also works. However, I clicked the icon pluged in eclipse then it appears the error message. I've searched the solution on the website. And then, I've relocated the directory of genymotion.app but it still didn't work. Are there any people have the same experience likes mine? I'll thank you if you guys have some method.

like image 660
Jimmy Yang Avatar asked Jul 19 '15 07:07

Jimmy Yang


3 Answers

Though I don't using Eclipse, I think I can answer your question. Since I experienced same issue with Android Studio.

This might be compatibility issue between Genymotion plugin and VirtualBox.

In Genymotion FAQ, they mentions that compatible VirtualBox version is 4.3.12. ( See What are the VirtualBox versions compatible with Genymotion? )

In my environment, Genymotion itself version 2.5.2 and it's plugin version 1.0.3, the highest VirtualBox version which can work with Genymotion plugin was 4.3.28.

So, unfortunately, even though virtual device can be executed from Genymotion.app with VirtualBox 5.0, Genymotion plugin seems can not be work with VirtualBox 4.3.30 and later...

like image 51
xanadu6291 Avatar answered Oct 24 '22 04:10

xanadu6291


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

like image 38
Ivan V Avatar answered Oct 24 '22 04:10

Ivan V


Today I had same issue, but solved.

Please try this way.

1. Run the genymotion virtual device.

2. Eclipse, Click "Run Configurations".

3. In the "Target" tab, enable the "Always prompt to pic device".

4. Click "Run" button.

5. Showing genymotin device. choose that and click "OK" button.

select genymotion device

like image 20
Adolfoi_ Avatar answered Oct 24 '22 05:10

Adolfoi_