Last Updated: July 25, 2019
·
2.104K
· blundell

Android SDK Update - Headless (SSH)

Upgrade your machine with the latest Android SDK from the comfort of .. anywhere else!

I do this to upgrade my Headless CI with the latest Android SDK Tools update:

android update sdk --no-ui

Here I am getting KitKat from the comfort of my bed = win!

If you want to only download specifics use:

android list sdk

then

android update sdk --no-ui --filter packageIndex

1 Response
Add your response

If you want to update the build tools you made need this:

http://stackoverflow.com/questions/17963508/install-android-sdk-build-tools-in-command-line/19416222#19416222

android list sdk --all

And then to get one of the packages in that list from the command line, use:

android update sdk -u -a -t <package no.>

over 1 year ago ·