How can I script genymotion emulator to launch a given avd, headless?

前端 未结 7 682
心在旅途
心在旅途 2020-12-12 15:43

Is there any way to launch by command line a given avd and have it registered via adb ?

I would also prefer to get the emulator l

7条回答
  •  不思量自难忘°
    2020-12-12 16:19

    Just in case anyone doesn't know about environment variables, looking for a non-headless and using Windows, you can check the commands by running the following command where it's installed your VirtualBox:

    C:\Program Files\Oracle\VirtualBox list vms
    

    Then you can run your desired device with something like the following:

    C:\Program Files\Genymobile\Genymotion\tools player --vm-name "Google Nexus 4"
    

    Of course, put that paths on your environment variable would be the better approach.

提交回复
热议问题