Skip to content

Instantly share code, notes, and snippets.

@brianleroux
Created April 27, 2011 20:07
Show Gist options
  • Save brianleroux/945064 to your computer and use it in GitHub Desktop.
Save brianleroux/945064 to your computer and use it in GitHub Desktop.
get the highest target from android
# the horror, the utility
android list targets | grep 'id: ' | sed 's/id: \([0-9]\).*/\1/g' | tail -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment