Arch-Linux
無法在 GenyMotion 模擬器中執行設備
我已經從 AUR 安裝了 GenyMotion 及其依賴項(Virtual Box,…)。現在我正在嘗試在 GenyMotion 模擬器中執行一個設備,但出現以下錯誤:
無法載入 VirtualBox 引擎。確保在啟動 Genymotion 之前已正確安裝它。有關更多資訊,請參閱: https ://cloud.genymotion.com/page/faq/#vbox
PS:
您可以在以下位置查看日誌內容
~/.Genymobile/genymotion-player.log
:Jan 7 13:19:58 [Genymotion Player] [Error] VBoxManage ("hostonlyif", "create") returns 1 Jan 7 13:19:58 [Genymotion Player] [Error] Output command: "0%... Progress state: NS_ERROR_FAILURE VBoxManage: error: Failed to create the host-only adapter VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterface, interface IHostNetworkInterface VBoxManage: error: Context: "int handleCreate(HandlerArg*, int, int*)" at line 66 of file VBoxManageHostonly.cpp"
對於 Arch Linux 嘗試:
$ sudo vboxreload
對於 Mac 嘗試:
$ sudo /Library/StartupItems/VirtualBox/VirtualBox restart