Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check android sdk version in Ubuntu through terminal?

Tags:

android

ubuntu

I have installed android sdk in my Ubuntu machine, i am trying to see what is the version i am using. When Googled i found few links for this in stack overflow

How to retrieve the android sdk version?

Android How to check Version

These links specify method to get version via code, but how do i check it through terminal in ubuntu?

like image 780
balanv Avatar asked Oct 24 '12 10:10

balanv


1 Answers

The two methods you posted are applicable for Android devices not for a computer that has Android SDKs installed to develop. You should have many Android SDKs installed on your Ubuntu machine.

The check in the terminal all the SDKs in your machine you can use sdkmanager tool:

${ANDROID_HOME}/tools/bin/sdkmanager --list

It will show you three main blocks: Installed packages, Available Packages and Available Updates.

You can use the same tool to update and install/uninstall packages too.

like image 127
logoff Avatar answered Oct 13 '22 23:10

logoff