Forrest logo
back to the sdkmanager tool

sdkmanager:tldr:d15e0

sdkmanager: Install a package.
$ sdkmanager ${package}
try on your machine

The command "sdkmanager ${package}" is used to manage the software development kit (SDK) packages in the Android development environment.

In this command, "${package}" is a placeholder for the specific package name that you want to manage. It should be replaced with the actual name of the package you want to install, update, or remove.

The "sdkmanager" is a command-line tool provided by Android SDK that allows you to interact with the SDK packages. It is commonly used to install or update various SDK components, such as platform tools, system images, build tools, and emulators.

To use this command, you need to have the Android SDK installed and set up properly on your computer. By running "sdkmanager ${package}", you can perform actions like installing a specific package by providing its name as the parameter, updating packages to the latest versions, or removing a package from your SDK installation.

For example, running "sdkmanager platform-tools" will install or update the platform tools package, while running "sdkmanager --uninstall ${package}" will remove the specified package from your SDK.

Note that the actual command may vary depending on your operating system and the specific version of the Android SDK you are using.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the sdkmanager tool