Skip to content

Instantly share code, notes, and snippets.

@bbrewer97202
Created October 30, 2013 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbrewer97202/7240988 to your computer and use it in GitHub Desktop.
Save bbrewer97202/7240988 to your computer and use it in GitHub Desktop.
Common Android emulator commands + keyboard shortcuts I am always trying to remember
### commands
#start the avd manager
$ ./android avd
#list available avds
$ ./android list avd
#Start an emulator with a target avd:
$ ./emulator -avd <avdname>
#list adb attached devices
$ ./adb devices
#remount attached adb device
$ ./adb remount
#log messages from browser
$ clear; ./adb logcat browser:V *:S
### keyboard shortcuts
#change screen orientation
ctrl-fn-f12
### configuration
#add hardware keyboard in ~/.android/avd/*.avd/config.ini
hw.keyboard=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment