Android SDK Command-line Tools Offline Direct Download

Android SDK CMDLine-tools

Android SDK CMDLine Tools is a core component for Android SDK contains core tools and debugging of Android development including sdkmanager that manages other SDK components.This is the replacement for the now obsolete Android SDK Tools

Last Time Checked

All the packages were last checked on:

All the packages were taken directly from the official Google's Android host.

All Android SDK CMDLine-tools by API,Version and OSes
NoPackage NameAPIVersionOSSize (MB)
1Android SDK Command-line Tools (latest).zip1212.0LINUX146.49 MB
2Android SDK Command-line Tools (latest).zip1212.0MACOSX146.49 MB
3Android SDK Command-line Tools (latest).zip1212.0WINDOWS146.47 MB

How to install offline Android SDK CMDLine-tools?

This package will ALWAYS be installed on the same path regardless of the newer versions available.
It CAN NOT be installed side-by-side with other versions and it's install path DOES NOT follow Android API numbering scheme.
Upon updates, it overrides previous installation completely.
You can install ONLY ONE VERSION for this package installation.
The offline installation is done using Bash's unzip that is widely avaialble on Windows (with WSL), Linux and Mac.However you can use whatever unzipping/decompressing/extracting tools you like that support extracting .zip, but please pay attention carefully so that the package is installed correctly and is recognized.We use Bash's unzip for this purpose , respectively.

  • Download the latest version of the packages available above.If it has different OSes, choose one that match your development OS.
  • After finished, you can DISCONNECT any internet connections.
  • Locate the downloaded .zip pacakge into accessible location, as you will need that location for installation purpose.
  • Open up CLI/CMD, for Windows make sure you have WSL or Bash for Windows support.
  • Now follow the steps below, it mimics CMD interface to make it easier for you:

X
CMD Install Android SDK CMDLine-tools manually
@usr~
cd $ANDROID_SDK_ROOT1
@usr$ANDROID/SDK/ROOT
rm -rf cmdline-tools/latest && unzip path/to/commandlinetools-linux-11076708_latest.zip -d cmdline-tools/latest && mv tools/* . && rm -rf tools(2.A linux)
@usr$ANDROID/SDK/ROOT
rm -rf cmdline-tools/latest && unzip path/to/commandlinetools-mac-11076708_latest.zip -d cmdline-tools/latest && mv tools/* . && rm -rf tools(2.B macosx)
@usr$ANDROID/SDK/ROOT
rm -rf cmdline-tools/latest && unzip path/to/commandlinetools-win-11076708_latest.zip -d cmdline-tools/latest && mv tools/* . && rm -rf tools(2.C windows)

  1. cd $ANDROID_SDK_ROOT
    First, go to the root directory of Android SDK installation. On Windows you might also type:cd %ANDROID_SDK_ROOT%
    Remember! You should only proceed to the next step if only you already in the root directory of Android SDK.
  2. Now, from rootdir of Android SDK, locate the package you've downloaded and then extract the package based on your OS.
    Make sure to change the /path/to/ with absolute path that points to actual downloaded package file location on your local disk.
    1. [linux Only]
      rm -rf cmdline-tools/latest && unzip path/to/commandlinetools-linux-11076708_latest.zip -d cmdline-tools/latest && mv tools/* . && rm -rf tools
      extract the package archive as-is from the root SDK directory, to install version 12.0 on linux
    2. [macosx Only]
      rm -rf cmdline-tools/latest && unzip path/to/commandlinetools-mac-11076708_latest.zip -d cmdline-tools/latest && mv tools/* . && rm -rf tools
      extract the package archive as-is from the root SDK directory, to install version 12.0 on macosx
    3. [windows Only]
      rm -rf cmdline-tools/latest && unzip path/to/commandlinetools-win-11076708_latest.zip -d cmdline-tools/latest && mv tools/* . && rm -rf tools
      extract the package archive as-is from the root SDK directory, to install version 12.0 on windows
  3. DONE! :D