Skip to content

Instantly share code, notes, and snippets.

@joannecheng
Last active May 19, 2016 12:47
Show Gist options
  • Save joannecheng/df022f0fc364f1720130 to your computer and use it in GitHub Desktop.
Save joannecheng/df022f0fc364f1720130 to your computer and use it in GitHub Desktop.
Stupid android details I keep forgetting

Android SDK manager

android

List targets

android list target

Create new avd:

android create avd -t {target id} -n {target name}

List existing avd:

android list avd

To run emulator:

emulator -avd {avd_name}

Run emulator with GPU emulation

emulator -avd {avd_name} -gpu on

Log output of emulator:

adb logcat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment