Arch Linux
jinhan13789
V2EX  ›  Arch

Archlinux 下 Genymotion 模拟器启动不起来

  •  
  •   jinhan13789 · Nov 17, 2015 · 6368 views
    This topic created in 3861 days ago, the information mentioned may be changed or developed.

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

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

    20 replies    2015-11-17 20:05:33 +08:00
    o02VFqu3gZnZfX8n
        1
    o02VFqu3gZnZfX8n  
       Nov 17, 2015
    你的 VirtualBox 可以正常运行吗?
    jinhan13789
        2
    jinhan13789  
    OP
       Nov 17, 2015
    @DaVinci42 可以的 只是 Genymotion 中的 android 模拟器启动不起来
    我下载了 4.11 5.0 和 6.0 三个版本的模拟器都能启动
    jinhan13789
        3
    jinhan13789  
    OP
       Nov 17, 2015
    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
    下面几乎都是个错误 日志还算完整
    herozem
        4
    herozem  
       Nov 17, 2015
    额,其实在 linux 下 android 模拟器已经够快了,特别是加上 kvm 以后
    jinhan13789
        5
    jinhan13789  
    OP
       Nov 17, 2015
    @herozem 你是说自带的模拟器吗?
    我去试试
    herozem
        6
    herozem  
       Nov 17, 2015
    额,别急着试。。。 kvm 和 vbox 的模块是只能二选一的
    jinhan13789
        7
    jinhan13789  
    OP
       Nov 17, 2015
    @herozem 问题是除了 Events Manager: socket error connecting to "192.168.56.101" : 22469
    这条错误 看不到别的错误啊
    google 只能搜到三条相关的信息 都不是解决方案
    难道说我又要装 ubuntu ?
    o02VFqu3gZnZfX8n
        8
    o02VFqu3gZnZfX8n  
       Nov 17, 2015
    @jinhan13789
    ConnectionRefusedError ,看看是不是防火墙拦着了,
    Genymotion Support 页面 - Can my firewall disrupt Genymotion?
    jinhan13789
        9
    jinhan13789  
    OP
       Nov 17, 2015
    @herozem 还有啊 android studio 新疆爱你了项目 构建了一个小时都没结束 我设置了翻墙啊
    jinhan13789
        10
    jinhan13789  
    OP
       Nov 17, 2015
    @DaVinci42 如何查看呢 我 archlinux 刚装的啊
    jinhan13789
        11
    jinhan13789  
    OP
       Nov 17, 2015
    这是我第四次装 archlinux 之前别的 linux 和 windows 都装了好多,最后选择 archlinux 。
    一定要解决它
    o02VFqu3gZnZfX8n
        12
    o02VFqu3gZnZfX8n  
       Nov 17, 2015
    @jinhan13789
    如果是 KDE ,在 Setting 里面可以找到 Network ,其他桌面我不熟,
    ArchWiki 至少一定有,查的成本也不高
    jinhan13789
        13
    jinhan13789  
    OP
       Nov 17, 2015
    @DaVinci42 gnome Setting 里也有 Network 但是并没有多余的选项
    只有:
    Wi-FI
    Wired
    Network proxy
    这三项
    o02VFqu3gZnZfX8n
        14
    o02VFqu3gZnZfX8n  
       Nov 17, 2015
    @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
       Nov 17, 2015
    @jinhan13789 archlinux 默认没有任何防火墙
    jinhan13789
        16
    jinhan13789  
    OP
       Nov 17, 2015
    @DaVinci42 这个看过了 也检查过了,设置没有任何问题
    jinhan13789
        17
    jinhan13789  
    OP
       Nov 17, 2015
    好吧 回归 ubuntu 的怀抱
    herozem
        18
    herozem  
       Nov 17, 2015
    gradle 构建项目的时候要下东西,主要是下那个什么 gradle.zip 啥的,忘了
    herozem
        19
    herozem  
       Nov 17, 2015
    还有你那错误, 没猜错的话,就是因为在主机直连 vbox 。但是没连上。 genymotion 会新建一个主机和虚拟机专用网络。
    hm279
        20
    hm279  
       Nov 17, 2015 via Android
    这是 vbox 的网络没设置好,我在 Arch 下也会出现这种情况。看看这里能不能解决 http://stackoverflow.com/questions/19922077/genymotion-unable-to-start-the-genymotion-virtual-device
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2784 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 74ms · UTC 11:22 · PVG 19:22 · LAX 04:22 · JFK 07:22
    ♥ Do have faith in what you're doing.