Archlinux 下 Genymotion 模拟器启动不起来 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Arch Linux
jinhan13789
V2EX    Arch

Archlinux 下 Genymotion 模拟器启动不起来

  •  
  •   jinhan13789 2015-11-17 11:21:48 +08:00 5977 次点击
    这是一个创建于 3683 天前的主题,其中的信息可能已经有所发展或是发生改变。

    启动就黑屏
    log 信息如下
    Events Manager :socket error connecting to "192.196.56.101" : 22469

    网卡配置什么的都正常
    google 过了,未解决

    20 条回复    2015-11-17 20:05:33 +08:00
    o02VFqu3gZnZfX8n
        1
    o02VFqu3gZnZfX8n  
       2015-11-17 12:15:38 +08:00
    你的 VirtualBox 可以正常运行吗?
    jinhan13789
        2
    jinhan13789  
    OP
       2015-11-17 12:18:42 +08:00
    @DaVinci42 可以的 只是 Genymotion 中的 android 模拟器启动不起来
    我下载了 4.11 5.0 和 6.0 三个版本的模拟器都能启动
    jinhan13789
        3
    jinhan13789  
    OP
       2015-11-17 12:22:48 +08:00
    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 ("guestroperty", "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
    下面几乎都是个错误 日志还算完整
    herozem
        4
    herozem  
       2015-11-17 12:24:56 +08:00
    额,其实在 linux 下 android 模拟器已经够快了,特别是加上 kvm 以后
    jinhan13789
        5
    jinhan13789  
    OP
       2015-11-17 12:26:29 +08:00
    @herozem 你是说自带的模拟器吗?
    我去试试
    herozem
        6
    herozem  
       2015-11-17 12:27:34 +08:00
    额,别急着试。。。 kvm 和 vbox 的模块是只能二选一的
    jinhan13789
        7
    jinhan13789  
    OP
       2015-11-17 12:30:48 +08:00
    @herozem 问题是除了 Events Manager: socket error connecting to "192.168.56.101" : 22469
    这条错误 看不到别的错误啊
    google 只能搜到三条相关的信息 都不是解决方案
    难道说我又要装 ubuntu ?
    o02VFqu3gZnZfX8n
        8
    o02VFqu3gZnZfX8n  
       2015-11-17 12:31:41 +08:00
    @jinhan13789
    ConnectionRefusedError ,看看是不是防火墙拦着了,
    Genymotion Support 页面 - Can my firewall disrupt Genymotion?
    jinhan13789
        9
    jinhan13789  
    OP
       2015-11-17 12:32:39 +08:00
    @herozem 还有啊 android studio 新疆爱你了项目 构建了一个小时都没结束 我设置了翻墙啊
    jinhan13789
        10
    jinhan13789  
    OP
       2015-11-17 12:33:46 +08:00
    @DaVinci42 如何查看呢 我 archlinux 刚装的啊
    jinhan13789
        11
    jinhan13789  
    OP
       2015-11-17 12:36:07 +08:00
    这是我第四次装 archlinux 之前别的 linux 和 windows 都装了好多,最后选择 archlinux 。
    一定要解决它
    o02VFqu3gZnZfX8n
        12
    o02VFqu3gZnZfX8n  
       2015-11-17 12:37:16 +08:00
    @jinhan13789
    如果是 KDE ,在 Setting 里面可以找到 Network ,其他桌面我不熟,
    ArchWiki 至少一定有,查的成本也不高
    jinhan13789
        13
    jinhan13789  
    OP
       2015-11-17 12:40:36 +08:00
    @DaVinci42 gnome Setting 里也有 Network 但是并没有多余的选项
    只有:
    Wi-FI
    Wired
    Network proxy
    这三项
    o02VFqu3gZnZfX8n
        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.
    jinhan13789
        15
    jinhan13789  
    OP
       2015-11-17 12:44:33 +08:00
    @jinhan13789 archlinux 默认没有任何防火墙
    jinhan13789
        16
    jinhan13789  
    OP
       2015-11-17 12:45:02 +08:00
    @DaVinci42 这个看过了 也检查过了,设置没有任何问题
    jinhan13789
        17
    jinhan13789  
    OP
       2015-11-17 13:18:44 +08:00
    好吧 回归 ubuntu 的怀抱
    herozem
        18
    herozem  
       2015-11-17 16:34:47 +08:00
    gradle 构建项目的时候要下东西,主要是下那个什么 gradle.zip 啥的,忘了
    herozem
        19
    herozem  
       2015-11-17 16:36:15 +08:00
    还有你那错误, 没猜错的话,就是因为在主机直连 vbox 。但是没连上。 genymotion 会新建一个主机和虚拟机专用网络。
    hm279
        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
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     5071 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 24ms UTC 05:47 PVG 13:47 LAX 21:47 JFK 00:47
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86