我想通过命令行下载android sdk.我从命令/sf/answers/319885471/获得此命令 我下载了Android SDK r18 tar文件.提取它并在工具目录中,
我试过这个命令
>android udpate sdk --no-ui
Run Code Online (Sandbox Code Playgroud)
它给出了一个错误,
Error: Flag '--no-ui' is not valid for 'update sdk'.
Run Code Online (Sandbox Code Playgroud)
另外,我没有看到--no-ui选项
android --help
Run Code Online (Sandbox Code Playgroud)
Google是否更改了命令行选项
当我得到帮助时,我得到了这个,
android --help update sdk
Usage:
android [global options] action [action options]
Global options:
-v --verbose Verbose mode: errors, warnings and informational messages are printed.
-h --help Help on a specific command.
-s --silent Silent mode: only errors are printed out.
Valid actions are composed of a verb and an optional direct object: …Run Code Online (Sandbox Code Playgroud)