Android: Starting Genymotion virtual machine from command line

I got sick of seeing the GenyMotion launcher, so I looked for a way to start the device without actually having to click extra things.

image

If you know what your virtual machine "name" is, you can skip this step.

  • Go to the folder that VirtualBox is installed in command prompt and type:

VBoxManage list vms

  • That'll give you the list of virtual machines and their names. Copy the one you want to quick-start.

Now to create the one-click starter.

  • Create a shortcut to Genymotion's "player.exe" file.
  • Edit the shortcut and add in the --vm-name argument:

"C:\Program Files\Genymotion\player.exe" --vm-name "Google Nexus 7 2013 - 4.4.2 - API 19 - 1200x1920"

Where "Google Nexus 7 2013 - 4.4.2 - API 19 - 1200x1920" is the name of my virtual machine.

That's all you need to do.

anigif_enhanced-12037-1405373303-9

Now your dev-build apps can crash even sooner!

Source

 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog