Forrest logo
back to the sdkmanager tool

sdkmanager:tldr:7232a

sdkmanager: Uninstall a package.
$ sdkmanager --uninstall ${package}
try on your machine

The command "sdkmanager --uninstall ${package}" is used in Android SDK (Software Development Kit) to uninstall a specific package or component from the Android development environment.

Here's the breakdown of the command:

  • "sdkmanager": It is a command-line tool provided by the Android SDK to manage SDK packages, including installation and removal.
  • "--uninstall": This option is used to indicate the action of uninstalling a package.
  • "${package}": This is a placeholder that represents the package name or identifier of the component you want to uninstall. You need to replace it with the actual package name when using the command.

For example, if you want to uninstall the Android Platform 28, you would use the command "sdkmanager --uninstall "platforms;android-28"".

Keep in mind that this command requires you to have the Android SDK installed and the SDK tools directory added to your system's PATH variable.

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