Search code examples
androidandroid-sdk-tools

List installed sdk package via command line


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


Solution

  • 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