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
It works fine for me. Try it without the --no-ui flag and see if that works. If not, what is the error message you get?
--no-ui
You probably have your PATH configured incorrectly. You need to execute the "current folder executable" as follows:
PATH
$ ./android update sdk --no-ui