【问题标题】:VirtualBox And Genymotion launch from command line issueVirtualBox 和 Genymotion 从命令行问题启动
【发布时间】:2015-03-24 09:17:36
【问题描述】:

我已经安装了最新的 Genymotion 版本 2.4.0 和 Virtual Box 4.3.26 r98988。 当我从 Jenkins 或 MacOSX Yosemite 上的命令行运行 genymotion 时:

/Applications/Genymotion.app/Contents/MacOS/player --vm-name "Google Nexus 5 - 4.4.4 - API 19 - 1080x1920"

我有这个问题:

Logging activities to file: .Genymobile/genymotion.log
Logging activities to file: .Genymobile/Genymotion/deployed/Google Nexus 5 - 4.4.4 - API 19 - 1080x1920/genymotion-player.log
OpenGL connected to 192.168.56.101:25000
Port 22468 will be used for OpenGL data connections
Unknown TCPCLI command 1003

Jenkins 无限期地等待,calabash 测试没有运行。

genymotion的日志没有特别的错误,但是virtualbox的日志(VBoxSVC.log)有这个错误:

00:00:00.130196 nspr-2   HostDnsMonitorProxy::notify
00:00:00.130211 nspr-2   HostDnsMonitorProxy: Host's DNS information updated:
00:00:00.130214 nspr-2     server 1: 10.10.0.30
00:00:00.130217 nspr-2     server 2: 10.10.0.31
00:00:00.130221 nspr-2     no search string entries
00:00:00.130223 nspr-2     no domain set
00:00:00.134010 nspr-2   failed to create vboxnet0, error (0x80004005)
00:00:00.134189 nspr-2   VDInit finished

【问题讨论】:

    标签: macos jenkins virtualbox tcpclient genymotion


    【解决方案1】:

    您可能想在运行播放器时尝试“--quiet”。 我有同样的错误“未知 TCPCLI 命令 1003”,但它似乎仍然可以正常工作。 这就是我的运行方式。

    文件:run.sh

    vboxmanage snapshot "Google Nexus S - 2.3.7 - API 10 - 480x800" restore "factory"
    /Applications/Genymotion.app/Contents/MacOS/player --quiet --vm-name "Google   Nexus S - 2.3.7 - API 10 - 480x800" &
    echo "going to sleep"
    sleep 30
    echo "wake up"
    

    【讨论】:

    • 感谢您的回复,但不工作....好吧,詹金斯不希望更正确,但加载android环境时模拟器崩溃/冻结。
    • 我清理了所有内容,并创建了一个新的 android 虚拟机,现在它可以工作了。
    猜你喜欢
    • 2016-12-10
    • 2013-11-08
    • 2015-10-28
    • 1970-01-01
    • 1970-01-01
    • 2016-07-17
    • 1970-01-01
    • 1970-01-01
    • 2016-11-20
    相关资源
    最近更新 更多