Genymotion错误:在Yosemite上“无法加载VirtualBox引擎”。已安装VirtualBox

时间:2021-09-14 18:53:41

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

我有一个Macbook Pro 13英寸与OS X Yosemite [内存8 GB,图形Intel Iris Graphics 6100 1536 MB]。我正在尝试将Genymotion设置为Android模拟器。我首先从https://www.virtualbox.org/wiki/Downloads [VirtualBox-5.0.0-101573-OSX.dmg]安装Oracle VirtualBox,然后从Genymotion安装Genymotion供个人使用[genymotion-2.5.0.dmg] 。

But I get the following error -

但是我收到以下错误 -

Genymotion错误:在Yosemite上“无法加载VirtualBox引擎”。已安装VirtualBox

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

我在*和Google搜索结果中检查了所有以前的答案,我做了以下操作,但没有一个解决了问题。

1. (a)

sudo /Library/Startupitems/VirtualBox/VirtualBox restart

sudo / Library / Startupitems / VirtualBox / VirtualBox restart

OR (b)

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

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

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

由于我的/ Library / Startupitems /为空,我尝试了选项(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.

2.打开VirtualBox - >首选项 - >网络,在“仅限主机网络”下,删除了列出的那个。在“Nat Networks”下,有一个名为“NatNetwork”的Active网络,它被检查。

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

3. vboxmanage被添加到路径中并且在hostonlys下没有任何内容

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 ?

这些都是我通过Google搜索找到的。如何让Genymotion为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 *. But none of the previous posts had helped me. }

{如果可能的话,请提供一个不太技术性的解决方案,因为我是Mac新手,它也可能帮助人们第一次使用Mac。我知道这不是*的新问题。但以前的帖子都没有帮助过我。 }

Thanks for your help.

谢谢你的帮助。

8 个解决方案

#1


75  

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

我遇到的问题是VBoxManage安装在/ usr / local / bin /,它不在GUI应用程序的路径中。我做了:

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

#2


6  

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

我遇到了同样的问题,使用VirtualBox 4.3而不是5.0那对我来说就是这个伎俩。

#3


5  

This work for me:

这项工作对我来说:

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

    删除当前的虚拟版本并安装VirtualBox版本4.3。

  2. Run terminal and execute this line:

    运行终端并执行以下行:

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

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

  1. Continue this line:
  2. 继续这一行:

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

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

Now can run Genymotion.

现在可以运行Genymotion。

#4


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

升级到OS X 10.11.1之后我遇到了这个问题,转移到Virtual Box 5.0.8修复了它

#5


2  

I solved this issue updating Genymotion to Genymotion 2.5.1

我解决了这个问题,将Genymotion更新为Genymotion 2.5.1

#6


2  

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

在我的情况下,我只是将VirtualBox从4.3更新到5.0 https://www.virtualbox.org

this issue occurs after update to OS X El Capitan 10.11.4

更新到OS X El Capitan 10.11.4后会出现此问题

#7


1  

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.

我已经在Google网上论坛上报道过了。我认为现在没有别的方法可以降级 - 我们必须等待更新。

#8


1  

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

虽然这是一年之后,但这对我来说在mac上工作(从Windows切换后)。只需安装虚拟机5.0。 (或者在阅读本文时的最新版本)。

#1


75  

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

我遇到的问题是VBoxManage安装在/ usr / local / bin /,它不在GUI应用程序的路径中。我做了:

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

#2


6  

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

我遇到了同样的问题,使用VirtualBox 4.3而不是5.0那对我来说就是这个伎俩。

#3


5  

This work for me:

这项工作对我来说:

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

    删除当前的虚拟版本并安装VirtualBox版本4.3。

  2. Run terminal and execute this line:

    运行终端并执行以下行:

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

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

  1. Continue this line:
  2. 继续这一行:

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

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

Now can run Genymotion.

现在可以运行Genymotion。

#4


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

升级到OS X 10.11.1之后我遇到了这个问题,转移到Virtual Box 5.0.8修复了它

#5


2  

I solved this issue updating Genymotion to Genymotion 2.5.1

我解决了这个问题,将Genymotion更新为Genymotion 2.5.1

#6


2  

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

在我的情况下,我只是将VirtualBox从4.3更新到5.0 https://www.virtualbox.org

this issue occurs after update to OS X El Capitan 10.11.4

更新到OS X El Capitan 10.11.4后会出现此问题

#7


1  

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.

我已经在Google网上论坛上报道过了。我认为现在没有别的方法可以降级 - 我们必须等待更新。

#8


1  

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

虽然这是一年之后,但这对我来说在mac上工作(从Windows切换后)。只需安装虚拟机5.0。 (或者在阅读本文时的最新版本)。