【已解決】Genymotion, “Unable to load VirtualBox engine”
系統:win10 64bit
Genymotion版本:2.5.4
VirtualBox版本:5.0.4
可是安裝後啟動出現以下錯誤:
Virtualization engine not found. Plugin loading aborted.
根據提示定位到日誌目錄,開啟這個日誌檔案:general-genymotion.log
如下圖:
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就行了。。。
目前正在下載虛擬裝置中,(●'◡'●)
如果還不行就參考以下步驟,我也試了一遍,完全可行。
- Run VirtualBox as administrator (By default is installed in C:\Program Files\Oracle\VirtualBox)
- Go to File -> Preferences -> Network (Left Navigation List) -> Host-only Networks
- Select an adapter and click edit (the small screwdriver on the right)
- On "Adapter" tab set
- IPv4 Address: 192.168.1.201
- IPv4 Network Mask: 255.255.255.0
- 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
- Click Ok (Host-only Network details), click Ok (VM Settings)
- Open Genymotion (as Admin), install a new virtual device (you have deleted all past devices) and start it