Created
August 31, 2014 14:58
-
-
Save yanaga/893f5d692cf26c27bc16 to your computer and use it in GitHub Desktop.
Automate android-sdk headless installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expect -c ' | |
set timeout -1; | |
spawn android - update sdk --no-ui --all; | |
expect { | |
"Do you accept the license" { exp_send "y\r" ; exp_continue } | |
eof | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment