如何开始Genymotion设备使用shell命令? [英] How to start Genymotion device with shell command?

查看:526
本文介绍了如何开始Genymotion设备使用shell命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要开始通过shell命令genymotion,没有人知道是否有可能这样做吗?

I need to start genymotion via shell command, does anyone know if it is possible to do this?

推荐答案

Genymotion提出了壳:在 Genymotion壳牌​​。这是目前无法启动虚拟机吧。

Genymotion proposes a shell: the Genymotion Shell. It is not currently possible to start a VM with it.

但你却可以发动Genymotion VM感谢这个命令:

But you can however launch a Genymotion VM thanks to this command:

玩家--vm名< VM ID |虚拟机名称>

此命令将启动Genymotion的播放器,您可以访问所有的Genymotion增强部件(GPS,电池,旋转,...),画面缩放,呈现......像标准GUI启动。

This command launches the Genymotion's player that gives you access to all the Genymotion enhancements widgets (GPS, battery, rotation, ...), the screen scaling, rendering, ... Like the standard GUI launch.

如果你想使用一个Genymotion VM没有改进,你可以通过这样的VirtualBox的命令行启动它:

If you want to use a Genymotion VM without the enhancements, you can launch it via the VirtualBox command line like this:

VBoxManage startvm贵< VM ID |虚拟机名称>

虚拟机ID可以发现由于此命令行:

The VM id can be found thanks to this command line:

VBoxManage清单虚拟机

它会显示你的VirtualBox虚拟机的列表格式为:名称{ID}

It displays a list of your VirtualBox machines on this format: name {id}.

更新

由于Genymotion 2.5.0,你可以管理所有的Genymotion设备由于采用了命令行工具。有了这个工具,你可以创建,启动,停止,删除,推文件,Flash设备,... 下面是一个简单的例子来创建一个设备并启动:

Since Genymotion 2.5.0 you can manage all your Genymotion devices thanks to a command line tool. With this tool you can create, start, stop, delete, push files, flash the device, ... Here is a simple example to create a device and start it:

gmtool admin create "Google Nexus 5 - 4.4.4 - API 19 - 1080x1920" myNexus
gmtool admin start myNexus

此功能可用于支付的许可证。

This feature is available for paid licenses.

这篇关于如何开始Genymotion设备使用shell命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆