Genymotion Error: “Unable to load VirtualBox Engine” on Yosemite. VirtualBox installed

半世苍凉 提交于 2019-12-03 03:40:22

问题


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 -

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.


回答1:


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



回答2:


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




回答3:


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.




回答4:


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




回答5:


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

reference

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




回答6:


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.




回答7:


I solved this issue updating Genymotion to Genymotion 2.5.1




回答8:


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




回答9:


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).



来源:https://stackoverflow.com/questions/31364475/genymotion-error-unable-to-load-virtualbox-engine-on-yosemite-virtualbox-ins

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