How to setup Android sdk from command-line on headless server? [duplicate]

情到浓时终转凉″ 提交于 2019-12-04 02:01:02

There is a --no-ui flag for the update.

Typical linux setup:

cd android-sdk-linux_86/tools
./android update sdk -u

This will run it headless. To note, -u and --no-ui are the same flag

cheetah

I just created a small command line tool that does the update in any environment (GUI or non-GUI). Didn't have the chance to test it extensively, but as far as I can tell it does what it should.

The command line tool updates a pre-installed base Android SDK with all currently available platforms, add-ons, extras, docs, samples and tools. This should be enough for a build server (I need this for my Hudson CI installation with Maven).

Please go here for more details:

http://code.google.com/p/android-sdk-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!