29
votes

I have a Macbook Pro 13 inch with OS X Yosemite [Memory 8 GB, Graphics Intel Iris Graphics 6100 1536 MB]. I am trying to setup Genymotion as Android Emulator. I installed Oracle VirtualBox first from https://www.virtualbox.org/wiki/Downloads [VirtualBox-5.0.0-101573-OSX.dmg], and then Genymotion for personal use from Genymotion [genymotion-2.5.0.dmg].

But I get the following error -

Unable to load VirtualBox engine

I checked all the previous answers on StackOverflow and the Google search results, and I did the following, but none of them solved the problem.

1. (a)

sudo /Library/Startupitems/VirtualBox/VirtualBox restart

OR (b)

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

Since my /Library/Startupitems/ is empty, I tried option (b).

2. Open VirtualBox -> Preferences -> Network, Under "Host-only Networks", I deleted the one that was listed. Under "Nat Networks", there is an Active network called "NatNetwork", which is checked.

3. vboxmanage is added to path & has nothing under hostonlyifs

Terminal:

$ which vboxmanage
/usr/local/bin/vboxmanage

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin: <others>

$ vboxmanage list hostonlyifs
## no output - prints nothing

These are all I found through Google Search. How do I get the Genymotion working for Yosemite ?

{ If possible, please provide a solution that is not too technical, since I am new to Mac, and it might also help people using Mac for the first time. I know this is not a new question on StackOverflow. But none of the previous posts had helped me. }

Thanks for your help.

9

9 Answers

75
votes

I had the problem that VBoxManage was installed at /usr/local/bin/ which was not in the path for GUI apps. I did:

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

I've had the same problem, Use VirtualBox 4.3 instead of 5.0 That did the trick for me.

6
votes

This work for me:

  1. Remove current Virtual version and install VirtualBox version 4.3.

  2. Run terminal and execute this line:

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

  1. Continue this line:

sudo cp /usr/local/bin/VBoxManage /usr/bin/VBoxManage

Now can run Genymotion.

6
votes

I tried all these and nothing working with me except this one

VirtualBox from the unidentified developer so OSX refuse to install it so you need unlock this option from Security and privacy --> general tab

enter image description here

reference

https://medium.com/@DMeechan/fixing-the-installation-failed-virtualbox-error-on-mac-high-sierra-7c421362b5b5

5
votes
brew cask install virtualbox

I had this issue after upgrading to OS X 10.11.1 moving to Virtual Box 5.0.8 fixed it

2
votes

I've reported it on Google Groups here. I think for now there is no other way then downgrading - we have to wait for update.

2
votes

I solved this issue updating Genymotion to Genymotion 2.5.1

2
votes

In my case I just update VirtualBox from 4.3 to 5.0 https://www.virtualbox.org

this issue occurs after update to OS X El Capitan 10.11.4

2
votes

Although this is one year later, this worked for me on mac (after switching from windows). Just install virtual box 5.0. (Or whatever is the latest version at time of reading this).