首页 > 代码库 > launch genymotion simulator from command line
launch genymotion simulator from command line
Command to launch genymotion headless -
player --vm-name Nexus_4
- if player is not already added to path, add it to path using below command in your ~/.bash_profile
export PATH=/Applications/Genymotion.app/Contents/MacOS/:$PATH
When more than one device is connect use ‘adb -s‘ is used to redirect commands to particular device
Once emulator is running they will be listed under adb devices
Example:
adb devices
List of devices attached
192.168.56.101:5555 device
List of devices attached
192.168.56.101:5555 device
Verfiy command are send to correct device:
Send command to click on menu key on android device when multiple devices are connected
adb -s 192.168.56.101:5555 shell input keyevent KEYCODE_MENU
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。