Last active
December 31, 2015 03:09
-
-
Save 9re/7925454 to your computer and use it in GitHub Desktop.
expect command file to install android sdk automatically
This file contains hidden or 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
set timeout 3600 | |
spawn android-sdk-macosx/tools/android update sdk -u | |
expect { | |
"Do you accept the license" { | |
send "y\n" | |
exp_continue | |
} | |
Downloading { | |
exp_continue | |
} | |
Installing { | |
exp_continue | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment