List installed sdk package via command line

hackjutsu picture hackjutsu · Aug 7, 2015 · Viewed 43.9k times · Source

I want to list the installed sdk packages by command lines.(For some reasons I cannot use the GUI)

I have done some research and found out several commands to list the available packages on the remote server, but I fail to find any command to list the installed sdk packages yet.

Thanks

Answer

tnissi picture tnissi · Jan 9, 2017

With Android SDK Tools 25.2.3 (and higher):

$ANDROID_HOME/tools/bin/sdkmanager --list

See: https://developer.android.com/studio/command-line/sdkmanager.html#usage