【已解决】Genymotion, “Unable to load VirtualBox engine”

冷不防 2022-08-09 13:39 150阅读 0赞

系统:win10 64bit

Genymotion版本:2.5.4

VirtualBox版本:5.0.4

今天打算试试Genymotion这个模拟器,然后从官网下载了最新版:https://www.genymotion.com/#!/download

可是安装后启动出现以下错误:

Center

Virtualization engine not found. Plugin loading aborted.

根据提示定位到日志目录,打开这个日志文件:general-genymotion.log

如下图:

Center 1

Progress state: E_FAIL

VBoxManage.exe: error: Failed to create the host-only adapter

VBoxManage.exe: error: Querying NetCfgInstanceId failed (0x00000000)

VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface

VBoxManage.exe: error: Context: “enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)” at line 71 of file VBoxManageHostonly.cpp”
10月 25 17:36:13 [Genymotion] [Error] failed to create host only interface
10月 25 17:36:13 [Genymotion] [Error] “Fail to load vboxmanage plugin from D:/Program Files/Genymobile/Genymotion/plugins/“
10月 25 17:36:13 [Genymotion] [Error] VM Engine failed to load
10月 25 17:36:13 [Genymotion] [Error] Unable to find VM Engine. Plugin loading aborted.

根据提示可知是vbox设置host网络适配器出错了,可能原因为,vbox没有获得管理员权限,所以安装genymotion-2.5.4-vbox.exe

这个程序时,必须以管理员身份运行,之后一路Next就行了。。。

目前正在下载虚拟设备中,(●’◡’●)

Center 2

如果还不行就参考以下步骤,我也试了一遍,完全可行。

  1. Run VirtualBox as administrator (By default is installed in C:\Program Files\Oracle\VirtualBox)
  2. Go to File -> Preferences -> Network (Left Navigation List) -> Host-only Networks (on the right tab)
  3. Select an adapter and click edit (the small screwdriver on the right)
  4. On “Adapter” tab set

    • IPv4 Address: 192.168.1.201
    • IPv4 Network Mask: 255.255.255.0
  5. On DHCP Server Tab set

    • Server Address: 192.168.1.100
    • Server Mask: 255.255.255.0
    • Lower Address Bound: 192.168.1.101
    • Upper Address Bound: 192.168.1.199
  6. Click Ok (Host-only Network details), click Ok (VM Settings)
  7. Open Genymotion (as Admin), install a new virtual device (you have deleted all past devices) and start it

以上步骤引用自:http://stackoverflow.com/questions/31709084/genymotion-problems-in-windows-10

发表评论

表情:
评论列表 (有 0 条评论,150人围观)

还没有评论,来说两句吧...

相关阅读