码迷,mamicode.com
首页 > 其他好文 > 详细

launch genymotion simulator from command line

时间:2014-05-24 10:13:35      阅读:320      评论:0      收藏:0      [点我收藏+]

标签:android   c   code   a   strong   com   

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

launch genymotion simulator from command line,布布扣,bubuko.com

launch genymotion simulator from command line

标签:android   c   code   a   strong   com   

原文地址:http://www.cnblogs.com/rosepotato/p/3748243.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!