开发者

How to install Android SDK on Linux using CLI only?

I'm setting up an auto build serve开发者_运维技巧r, and need to install an Android SDK. I'm working over SSH, of course. But tools/android update sdk wants to start a Java GUI. Any other way to install an SDK?


If you use tools/android -h update sdk (I discovered that by trying tools/android update sdk --help), you will get a list of options for the update sdk command, the most interesting one being:

  -u --no-ui    Updates from command-line (does not display the GUI)


tools/android update sdk --no-ui


If workwing behind a proxy consider using options:

 --proxy-port: HTTP/HTTPS proxy port (overrides settings if defined)

 --proxy-host: HTTP/HTTPS proxy host (overrides settings if defined)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜