我已经多次安装和重新安装Genymotion和VB,并且现在都是它们的最新版本。 当我尝试启动Genymotion时,它会失败并在日志中留下痕迹:
[debug] [VBox] [findHostOnlyInterface] Looking for compatible host-only interface
[debug] [VBox] Call: ("list", "hostonlyifs")
[debug] [VBox] Return code: 0
[warning] [VBox] [getSavedHostOnlyInterface] Checking "VirtualBox Host-Only Ethernet Adapter" interface status ( QHostAddress( "192.168.56.150" ) )
[debug] [VBox] Empty interface name
[debug] [VBox] [createHostOnlyInterface] Creating new host-only interface
[debug] [VBox] Call: ("hostonlyif", "create")
[debug] [VBox] Return code: 0
[debug] [VBox] [createHostOnlyInterface] Interface "VirtualBox Host-Only Ethernet Adapter #2" created with success
不知道为什么它不喜欢现有的接口名,并且不知道“空接口名称”是什么意思。然后尝试启动一个新的接口,但默认情况下它有一个0.0.0.0的IP地址,因此无法成功启动。
[critical] [VBox] [createHostOnlyInterface] "VirtualBox Host-Only Ethernet Adapter #2" configuration is not valid. Subnet: "0.0.0" . Mask: "0.0.0.0"
[debug] [VBox] [deleteHostOnlyInterface] Deleting "VirtualBox Host-Only Ethernet Adapter #2" host-only interface
[debug] [VBox] Call: ("hostonlyif", "remove", "VirtualBox Host-Only Ethernet Adapter #2")
[debug] [VBox] Return code: 0
[debug] [VBox] erase host.only.interface
[critical] [VBox] "Fail to load vboxmanage plugin from C:/Program Files/Genymobile/Genymotion/plugins/"
[critical] VM Engine failed to load, state 4
[critical] Unable to find VM Engine. Plugin loading aborted.
[debug] [LogCollector] VM engine not available
看起来像是VB和Genymotion之间的冲突,但我不知道该怎么解决。
已经尝试了不同版本的VB桥接驱动程序,清理注册表并重新安装它们,但没有成功。
是否有一种方法可以获得比这些日志更详细的调试信息?我真的很想知道为什么默认网络接口不适用于VB。
尝试删除所有网络接口的解决方案
[debug] [VBox] Path from registry: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"
[debug] [VBox] Path: "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe"
[debug] [VBox] Call: ("list", "hostinfo")
[debug] [VBox] Return code: 0
[debug] [VBox] [System properties] Online physical CPU number: 4
[debug] [VBox] [System properties] Online virtual CPU number: 2
[debug] [VBox] [System properties] Max CPU number: 8
[debug] [VBox] [System properties] Max memory size: 16320
[debug] [VBox] get "" from host.only.interface
[debug] [VBox] [findHostOnlyInterface] Looking for compatible host-only interface
[debug] [VBox] Call: ("list", "hostonlyifs")
[debug] [VBox] Return code: 0
[debug] [VBox] Empty interface name
[debug] [VBox] [createHostOnlyInterface] Creating new host-only interface
[debug] [VBox] Call: ("hostonlyif", "create")
[debug] [VBox] Return code: 0
[debug] [VBox] [createHostOnlyInterface] Interface "VirtualBox Host-Only Ethernet Adapter" created with success
............
[critical] [VBox] [createHostOnlyInterface] "VirtualBox Host-Only Ethernet Adapter" configuration is not valid. Subnet: "0.0.0" . Mask: "0.0.0.0"
[debug] [VBox] [deleteHostOnlyInterface] Deleting "VirtualBox Host-Only Ethernet Adapter" host-only interface
[debug] [VBox] Call: ("hostonlyif", "remove", "VirtualBox Host-Only Ethernet Adapter")
[debug] [VBox] Return code: 0
[debug] [VBox] erase host.only.interface
[critical] [VBox] "Fail to load vboxmanage plugin from C:/Program Files/Genymobile/Genymotion/plugins/"
[critical] VM Engine failed to load, state 4
[critical] Unable to find VM Engine. Plugin loading aborted.
我想知道在进行什么检查。
[Genymotion] [warning] [VBox] [getSavedHostOnlyInterface] Checking "VirtualBox Host-Only Ethernet Adapter" interface status ( QHostAddress( "192.168.56.1" ) )