Skip to content

Instantly share code, notes, and snippets.

@leoforney
Last active August 29, 2015 14:04
Show Gist options
  • Save leoforney/00e03090040f90ded29d to your computer and use it in GitHub Desktop.
Save leoforney/00e03090040f90ded29d to your computer and use it in GitHub Desktop.
A simple script to update Android and build tools
#!/bin/sh
echo "Updating Android sdk..."
(while :; do echo 'y'; sleep 2; done) | android update sdk -u
(while :; do echo 'y'; sleep 2; done) | android update sdk -u --filter android-18,extra-android-support
echo "Updated!"
sleep 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment