启动就黑屏
log 信息如下
Events Manager :socket error connecting to "192.196.56.101" : 22469
网卡配置什么的都正常
google 过了,未解决
1
o02VFqu3gZnZfX8n 2015-11-17 12:15:38 +08:00
你的 VirtualBox 可以正常运行吗?
|
2
jinhan13789 OP @DaVinci42 可以的 只是 Genymotion 中的 android 模拟器启动不起来
我下载了 4.11 5.0 和 6.0 三个版本的模拟器都能启动 |
3
jinhan13789 OP Nov 17 11:02:45 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0
Nov 17 11:02:46 [Genymotion Player] [Debug] VBoxManage ("showvminfo", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920") returns 0 Nov 17 11:02:46 [Genymotion Player] [Debug] VBoxManage ("controlvm", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "poweroff") returns 0 Nov 17 11:02:46 [Genymotion Player] [Warning] **** STOPPING VIRTUAL DEVICE **** Nov 17 11:02:46 [Genymotion Player] [Debug] Exit status: 15 Nov 17 11:06:27 [Genymotion Player] [Debug] Virtual device configured Nov 17 11:06:27 [Genymotion Player] [Debug] Virtualization engine configured Nov 17 11:06:27 [Genymotion Player] [Debug] Virtualization engine configured Nov 17 11:06:27 [Genymotion Player] [Debug] No token found. Skipping activation Nov 17 11:06:27 [Genymotion Player] [Debug] VBoxManage ("showvminfo", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920") returns 0 Nov 17 11:06:27 [Genymotion Player] [Debug] Virtual Machine status: off Nov 17 11:06:27 [Genymotion Player] [Debug] Start the device... Nov 17 11:06:27 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "set", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:27 [Genymotion Player] [Debug] VBoxManage ("modifyvm", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "--nic1", "hostonly") returns 0 Nov 17 11:06:27 [Genymotion Player] [Debug] VBoxManage ("modifyvm", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "--hostonlyadapter1", "vboxnet0") returns 0 Nov 17 11:06:27 [Genymotion Player] [Debug] VBoxManage ("modifyvm", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "--nictype1", "virtio") returns 0 Nov 17 11:06:27 [Genymotion Player] [Debug] VBoxManage ("modifyvm", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "--cableconnected1", "on") returns 0 Nov 17 11:06:27 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "set", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "genymotion_vm_name", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920") returns 0 Nov 17 11:06:27 [Genymotion Player] [Debug] VBoxManage ("showvminfo", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920") returns 0 Nov 17 11:06:28 [Genymotion Player] [Debug] VBoxManage ("startvm", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "--type", "headless") returns 0 Nov 17 11:06:28 [Genymotion Player] [Debug] VBoxManage ("showvminfo", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920") returns 0 Nov 17 11:06:28 [Genymotion Player] [Debug] Virtual Machine started. Nov 17 11:06:28 [Genymotion Player] [Debug] Waiting for an IP address... Nov 17 11:06:28 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:29 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:30 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:31 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:32 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:33 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:33 [Genymotion Player] [Debug] Genymotion system started. Attributed IP address: "192.168.56.101" Nov 17 11:06:33 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:33 [Genymotion Player] [Warning] QPixmap::scaled: Pixmap is a null pixmap Nov 17 11:06:33 [Genymotion Player] [Debug] VBoxManage ("guestproperty", "get", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920", "androvm_ip_management") returns 0 Nov 17 11:06:33 [Genymotion Player] [Debug] Events Manager connecting to QHostAddress( "192.168.56.101" ) : 22469 Nov 17 11:07:03 [Genymotion Player] [Debug] Timeout waiting for EventManager connection Nov 17 11:07:03 [Genymotion Player] [Debug] Event Manager socket error: QAbstractSocket::ConnectionRefusedError Nov 17 11:07:03 [Genymotion Player] [Debug] VBoxManage ("showvminfo", "PREVIEW - Google Nexus 5X - 6.0.0 - API 23 - 1080x1920") returns 0 Nov 17 11:07:03 [Genymotion Player] [Error] Events Manager: socket error connecting to "192.168.56.101" : 22469 下面几乎都是个错误 日志还算完整 |
4
herozem 2015-11-17 12:24:56 +08:00
额,其实在 linux 下 android 模拟器已经够快了,特别是加上 kvm 以后
|
5
jinhan13789 OP @herozem 你是说自带的模拟器吗?
我去试试 |
6
herozem 2015-11-17 12:27:34 +08:00
额,别急着试。。。 kvm 和 vbox 的模块是只能二选一的
|
7
jinhan13789 OP @herozem 问题是除了 Events Manager: socket error connecting to "192.168.56.101" : 22469
这条错误 看不到别的错误啊 google 只能搜到三条相关的信息 都不是解决方案 难道说我又要装 ubuntu ? |
8
o02VFqu3gZnZfX8n 2015-11-17 12:31:41 +08:00
@jinhan13789
ConnectionRefusedError ,看看是不是防火墙拦着了, Genymotion Support 页面 - Can my firewall disrupt Genymotion? |
9
jinhan13789 OP @herozem 还有啊 android studio 新疆爱你了项目 构建了一个小时都没结束 我设置了翻墙啊
|
10
jinhan13789 OP @DaVinci42 如何查看呢 我 archlinux 刚装的啊
|
11
jinhan13789 OP 这是我第四次装 archlinux 之前别的 linux 和 windows 都装了好多,最后选择 archlinux 。
一定要解决它 |
12
o02VFqu3gZnZfX8n 2015-11-17 12:37:16 +08:00
|
13
jinhan13789 OP |
14
o02VFqu3gZnZfX8n 2015-11-17 12:43:09 +08:00
@jinhan13789
Can my firewall disrupt Genymotion? Yes. The Genymotion application must connect to the virtual device via the local network. If you have a firewall, make sure that you allowed connections to the Genymotion network, set to 192.168.56.0/24 by default. You can also edit the network. To do so: Run VirtualBox. Open File > Preferences > Network (or VirtualBox > Preferences for Mac OS X). Edit the Host-only Network by clicking . Make sure the adapter IPv4 address is in the same network (192.168.56.0/24 by default) as the DHCP server address, lower address bound and upper address bound. If not, your virtual device cannot start. |
15
jinhan13789 OP @jinhan13789 archlinux 默认没有任何防火墙
|
16
jinhan13789 OP @DaVinci42 这个看过了 也检查过了,设置没有任何问题
|
17
jinhan13789 OP 好吧 回归 ubuntu 的怀抱
|
18
herozem 2015-11-17 16:34:47 +08:00
gradle 构建项目的时候要下东西,主要是下那个什么 gradle.zip 啥的,忘了
|
19
herozem 2015-11-17 16:36:15 +08:00
还有你那错误, 没猜错的话,就是因为在主机直连 vbox 。但是没连上。 genymotion 会新建一个主机和虚拟机专用网络。
|
20
hm279 2015-11-17 20:05:33 +08:00 via Android
这是 vbox 的网络没设置好,我在 Arch 下也会出现这种情况。看看这里能不能解决 http://stackoverflow.com/questions/19922077/genymotion-unable-to-start-the-genymotion-virtual-device
|