您的位置:首页 > 其它

launch genymotion simulator from command line

2014-05-23 18:03 211 查看
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


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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: