I want to download android sdk through command line.
I got this command from command https://stackoverflow.com/a/4569792/563306
I downloaded Android SDK r18 tar file. extra
Just to add. When you use the proxy options do not supply the http:// part. The android executable will not complain, and will report everything downloaded ok. I was on a completely new install and was sure nothing was downloaded yet.