【问题标题】:How do I start a genymotion virtual device from a command prompt ( not using commands that can only run with Business license)如何从命令提示符启动 genymotion 虚拟设备(不使用只能使用商业许可证运行的命令)
【发布时间】:2016-06-15 07:56:25
【问题描述】:

我将我的 genymotion 版本从 2.6.0 更新到 2.7.2。

我曾经使用 打开 -a /Applications/Genymotion.app/Contents/MacOS/player.app --args --vm-name 'nexus_7' 'Google Nexus 7 - 5.0.0 - API 21 - 800x1280' 命令。

当我现在使用这个命令时,我得到一个错误:

“无法启动虚拟设备。 在 VirtualBox 列表中找不到指定的虚拟设备。”

请帮忙。

【问题讨论】:

    标签: android android-emulator genymotion


    【解决方案1】:

    我继续更新到最新版本的 Genymotion 进行测试,以下一系列命令似乎没有任何问题:

    cd /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/MacOS
    ./player --vm-name "Exact Name of Virtual Device"
    

    命令的明显解释:这可能是不必要的,但以防万一有人不明白命令在做什么,这里是一个简短的解释:cd /Applications/Genymotion.app...只是在应用程序文件夹中导航到特定位置。 ./player ... 正在该文件夹中运行 player 可执行文件。

    作为您应该在--vm-name 参数之后输入的示例,以下是我在测试中执行的内容:“Google Nexus 7 - 4.2.2 - API 17 - 800x1280”您的可能会有所不同,但这是我在 Genymotion 中设置的设备的确切名称。

    我使用在 OS X El Capitan 版本 10.11.3 上运行的 Genymotion v2.7.2 对此进行了测试。此外,我的 Genymotion 安装仅注册用于个人用途,从未注册用于商业或企业用途,因此我希望此命令也可以在您的计算机上运行。

    【讨论】:

      猜你喜欢
      • 2013-09-17
      • 2019-05-28
      • 2013-03-28
      • 2015-02-05
      • 1970-01-01
      • 2013-06-28
      • 2015-02-06
      • 1970-01-01
      • 2013-11-08
      相关资源
      最近更新 更多