The Android SDK Command-Line Tools package
contains various tools for building and debugging Android apps. It is
released concurrently with Android Studio and is installed in the
android_sdk/cmdline-tools/version/bin/
directory.
For a complete description of the tools included in this package, see Command line tools in the user guide.
To install the latest version, check the SDK Manager for updates. Alternatively, you can download the latest stable version directly.
In Android Studio, the latest version available in the SDK Manager dialog depends on which update channel you've selected. To use a preview version of this package, set your update channel to either Beta or Canary.
To update using sdkmanager
from the command line, use either of the following:
// Beta channel
sdkmanager 'cmdline-tools;latest' --channel=1
// Canary channel
sdkmanager 'cmdline-tools;latest' --channel=3
Android SDK Command-Line Tools 5.0 (canary)
Updated in December 2020.
Android SDK Command-Line Tools 4.0 (beta)
Updated in December 2020. Adds the retrace
tool.
Android SDK Command-Line Tools 3.0
Released in July 2020.
Android SDK Command-Line Tools 2.1
Released in June 2020.
Android SDK Command-Line Tools 2.0
Released in May 2020.
Android SDK Command-Line Tools 1.0
Released in February 2020.