The query is, whether Without Android Studio or SDK Manager GUI is there a way to download SDK command-line tools from the terminal in Linux.
Asked
Active
Viewed 147 times
1 Answers
0
So... read carefully, if you don't understand, check the last part...
By default, the SDK Manager from the command line does not include the build tools in the list. They're in the "obsolete" category. To see all available downloads, use
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.>
Where -u stands for --no-ui, -a stands for --all and -t stands for --filter.
If you need to install multiple packages do:
android update sdk -u -a -t 1,2,3,4,..,n
Where 1,2,..,n is the package number listed with the list command above
**I found this answer from other question, In here you can find more information:How to install Android SDK Build Tools on the command line?
Marc Nadal
- 101
- 6