因为Android Studio自带的模拟器启动太慢太卡,所以根据广大码友推荐选择了Genymotion模拟机。下载安装带virtualbox的版本后,启动模拟机出现了弹窗提示以下问题:
Unable to start the virtual device. Please refer to this FAQ article for help: www.genymotion.com/faq/vd-not-started For more information, check the log files. Please refer to: www.genymotion.com/faq/logs
点开Virtualbox,报错内容是:virtualbox启动虚拟机报错Failed to open/create the internal network 'HostInterfaceNetworking-VirtualBox Host
尝试了网上很多方法后还是这个方法最管用:
- 打开电脑的设置——状态——更改适配器选项
- 点击进入后找到virtualbox使用的网络(这个在Virtualbox管理器里可以看到),我的是#3这个
- 右键-属性,找到driver
- 接下来就是谜之操作了:取消driver前的勾,确定——然后禁用此网络设备,再启动此网络设备
- 然后按之前的操作,右键——属性——driver的勾打上——确定
- 再次禁用网络——启动网络
- 好啦,现在退出来,你会发现Genymotion上的模拟机可以跑了