← All guides AI Release
RU Subscribe to @ai_releaseorg

How to Install Android SDK Command-line Tools on Windows Without Android Studio: sdkmanager, adb and platform-tools

Updated: 30.11.2026 · AI Release · @ai_releaseorg
How to Install Android SDK Command-line Tools on Windows Without Android Studio: sdkmanager, adb and platform-tools

TL;DR

Quick start (run in PowerShell, replace the ZIP name with the file you actually downloaded):

$sdk = "$env:LOCALAPPDATA\Android\Sdk"
Expand-Archive "$HOME\Downloads\commandlinetools-win-<version>_latest.zip" -DestinationPath "$sdk\cmdline-tools"
Rename-Item "$sdk\cmdline-tools\cmdline-tools" "latest"
& "$sdk\cmdline-tools\latest\bin\sdkmanager.bat" "platform-tools"

Details and checks — in the steps below.

Requirements and setup

Illustration: Requirements and setup
Illustration: Requirements and setup

This is where most failures are born, so do not skip the checklist. The Android SDK on Windows is just a folder tree plus two environment variables; Android Studio is a convenience wrapper around exactly these tools, not a dependency.

Why: sdkmanager.bat is a thin Java launcher — no JDK, no package manager. And the ZIP unpacks into a folder named cmdline-tools *inside* a folder named cmdline-tools; the SDK only recognises the tools when the inner folder is named latest (or a numbered version). That nesting is the single most common reason people conclude "the tools are broken".

How to check: run java -version and confirm you see a version line, not an error.

Example: after unpacking correctly, this path exists:

C:\Users\<you>\AppData\Local\Android\Sdk\cmdline-tools\latest\bin\sdkmanager.bat

Step 1. Unpack the tools and pin the SDK location

What to do: create the SDK root, unzip the downloaded archive into cmdline-tools, rename the inner folder to latest, then set ANDROID_HOME for your user.

$sdk = "$env:LOCALAPPDATA\Android\Sdk"
New-Item -ItemType Directory -Force "$sdk\cmdline-tools" | Out-Null
Expand-Archive "$HOME\Downloads\commandlinetools-win-<version>_latest.zip" -DestinationPath "$sdk\cmdline-tools"
Rename-Item "$sdk\cmdline-tools\cmdline-tools" "latest"
[Environment]::SetEnvironmentVariable("ANDROID_HOME", $sdk, "User")

Why: ANDROID_HOME is the single source of truth that sdkmanager, adb, Gradle and IDE plugins read. Setting it once means every future tool writes into the same tree instead of scattering packages across your disk. %LOCALAPPDATA%\Android\Sdk is the default location the Android tooling expects on Windows, so keeping it there avoids passing --sdk_root on every command.

How to check: list the bin folder and ask the tool for its version.

Get-ChildItem "$env:LOCALAPPDATA\Android\Sdk\cmdline-tools\latest\bin"
& "$env:LOCALAPPDATA\Android\Sdk\cmdline-tools\latest\bin\sdkmanager.bat" --version

You should see sdkmanager.bat, avdmanager.bat, sdkmanager.bat-adjacent scripts, and a plain version number printed by the second command. If instead you get a NoClassDefFoundError or a JAVA_HOME complaint, the JDK step is unfinished.

Example: a wrong layout looks like …\Sdk\cmdline-tools\cmdline-tools\bin\sdkmanager.bat (note the doubled name) — the SDK will not find the tools there.

Step 2. Install platform-tools, add PATH, accept licenses

Illustration: Step 2. Install platform-tools, add PATH, accept licenses
Illustration: Step 2. Install platform-tools, add PATH, accept licenses

What to do: install the packages you need, then put platform-tools and the cmdline-tools\latest\bin folder on your user PATH.

$sdk = "$env:LOCALAPPDATA\Android\Sdk"
& "$sdk\cmdline-tools\latest\bin\sdkmanager.bat" --list
& "$sdk\cmdline-tools\latest\bin\sdkmanager.bat" "platform-tools"
& "$sdk\cmdline-tools\latest\bin\sdkmanager.bat" --licenses
$old = [Environment]::GetEnvironmentVariable("Path","User")
[Environment]::SetEnvironmentVariable("Path", "$old;$sdk\platform-tools;$sdk\cmdline-tools\latest\bin", "User")

Answer y to each license prompt in the third command — there are several, and skipping them makes later package installs fail silently.

Why: platform-tools is the package that contains adb.exe (Android Debug Bridge — the client that talks to a phone over USB or Wi-Fi), fastboot.exe, and the USB driver helper. Putting the folder on PATH is what turns adb from a full path into a command name. The --list run first is free and shows the exact package IDs available in *your* channel, which is how you avoid typos.

Typical package IDs you will see and may need:

Package IDWhat it gives youInstall when
`platform-tools``adb.exe`, `fastboot.exe`Always
`build-tools;<version>``aapt2`, `apksigner`, `zipalign`You build APKs from CLI
`platforms;android-<API-level>``android.jar` for compilingYou build with Gradle/CLI
`emulator` + `system-images;…`Emulator and OS imagesYou have no physical phone

Check the live list for the actual version numbers of build-tools and platforms — do not copy them from a blog post.

How to check: open a new PowerShell window (the old one keeps the old PATH) and run:

adb version
where.exe adb

Expected: adb version prints Android Debug Bridge version … plus a build number, and where.exe adb prints exactly one path under …\Android\Sdk\platform-tools\adb.exe. If where.exe returns two different adb paths, one of them belongs to another tool — see Troubleshooting.

Example: sdkmanager "platform-tools" produces a short progress line and finishes with done; the folder %LOCALAPPDATA%\Android\Sdk\platform-tools then contains adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll. Those two DLLs must stay next to adb.exe — copying only the EXE is a known way to break USB detection.

Step 3. Verify end-to-end against a real device

Illustration: Step 3. Verify end-to-end against a real device
Illustration: Step 3. Verify end-to-end against a real device

What to do: connect the phone, authorise the computer, and run three checks: device visibility, shell access, and an APK install.

adb devices
adb shell getprop ro.product.model
adb install -r "C:\path\to\app-debug.apk"

Why: adb devices proves the USB driver, cable and authorisation chain all work. adb shell getprop proves adb can actually execute on the device, not just enumerate it. adb install proves the whole pipeline — which is the real goal of installing platform-tools without Studio.

How to check: the first command must print:

List of devices attached
<RANDOM-SERIAL>        device

The word device (not unauthorized, not offline) is the success signal. adb shell getprop ro.product.model should echo your phone model, e.g. Pixel 7. adb install -r ends with Success.

Example: the first time you connect, the phone shows a dialog "Allow USB debugging?" with an RSA key fingerprint. Until you tap Allow, adb devices shows unauthorized and every other command fails with error: device unauthorized.

For cable-free work, enable Developer options → Wireless debugging, then use the IP and port shown on that screen:

adb pair <phone-ip>:<pair-port>
adb connect <phone-ip>:<debug-port>

Both devices must be on the same Wi-Fi network. If you want to go further than adb — screen mirroring, file transfer, notifications — see the open-source options in How to Connect Android to Windows without Microsoft Phone Link: Open Source Alternatives. And if the APK you are sideloading is your own build, the distribution rules are covered in How to Publish a Private App on Google Play and Install It on Android.

Troubleshooting

Problem. sdkmanager works only when you type the full path

Test-Path "$env:LOCALAPPDATA\Android\Sdk\cmdline-tools\latest\bin\sdkmanager.bat"
[Environment]::GetEnvironmentVariable("Path","User") -split ';' | Select-String "Android"

If the path is absent, rerun the SetEnvironmentVariable line from Step 2. Note that running it twice appends duplicates — harmless, but clean them up if you care.

Problem. adb sees nothing

adb kill-server
adb start-server
adb devices -l

Problem. two adb versions fight each other

where.exe adb
taskkill /IM adb.exe /F
adb start-server
adb devices

Remove the stale folder from PATH, or rename its adb.exe, then reopen the terminal. Only one adb version may own port 5037 at a time.

Summary and next steps

You now have a Studio-free Android SDK at %LOCALAPPDATA%\Android\Sdk with sdkmanager, adb and platform-tools callable from any terminal, and a phone verified over USB. Next, add build-tools;<version> and platforms;android-<API-level> from sdkmanager --list when you start compiling, and refresh the toolset later with sdkmanager --update.

FAQ

Do I need Android Studio to use adb?

No. adb ships inside the platform-tools package, and sdkmanager installs it. Studio bundles the same files for convenience; installing the command-line tools alone is a supported, complete setup.

Where does sdkmanager install packages on Windows by default?

Into the SDK root it resolves from ANDROID_HOME, which in this guide is %LOCALAPPDATA%\Android\Sdk. You can point a single run elsewhere with sdkmanager --sdk_root=<path> "platform-tools".

Can I install an APK with adb without root?

Yes. adb install -r <file.apk> works on a normal, non-rooted phone as long as USB debugging is enabled and the RSA prompt was accepted. You do not need to toggle "Install unknown apps" for adb installs — that setting applies to installs started on the phone itself.

How do I update platform-tools later?

Run sdkmanager --update to refresh everything installed, or sdkmanager "platform-tools" to reinstall just that package, then adb kill-server so the new binary takes over.

🤖 AI summary

AI Release Knowledge Layer
Machine-readable description · Version 1.0

Status: practical guide. Some statements come from vendors; verify in your environment.

1. Summary

Time to complete: 20–30 minutes (most of it is downloading the ZIP and waiting for sdkmanager). Difficulty: Basic — you copy files, set two environment variables, and run four commands.

Inside: direct answers, key facts, entities, context, reliability, unknowns and sources.

Machine data: Citation Map JSON · JSON-LD · Semantic Embeddings — separate stage.

Full Knowledge Layer: sections 2–8

2. Direct answers

What is required?
[ ] Windows 10 or 11, 64-bit. The paths below are the same on both. If you are building the machine from scratch, see How to Install Windows 11 26H2: Step-by-Step Guide with Official ISO first.; [ ] A JDK installed and visible to the shell. Check with java -version. If it prints 'java' is not recognized…, install a… → details (AR-GUIDE-KAKUSTANOV-003)
How to do it?
Step 1. Unpack the tools and pin the SDK location → Step 2. Install platform-tools, add PATH, accept licenses → Step 3. Verify end-to-end against a real device → details (AR-GUIDE-KAKUSTANOV-004)
Which topics does it cover?
android sdk command line tools windows, как установить adb без android studio, sdkmanager windows 11 настройка, android platform-tools portable установка → details (AR-GUIDE-KAKUSTANOV-002)
What are the key points?
Time to complete: 20–30 minutes (most of it is downloading the ZIP and waiting for sdkmanager). Difficulty: Basic — you copy files, set two environment variables, and run four commands. → details (AR-GUIDE-KAKUSTANOV-007)

3. Key facts

  1. Time to complete: 20–30 minutes (most of it is downloading the ZIP and waiting for sdkmanager). — evidence; status: заявление источника.
  2. Difficulty: Basic — you copy files, set two environment variables, and run four commands. — evidence; status: заявление источника.
  3. You need: Windows 10/11 (64-bit), PowerShell, admin rights only if you edit the system PATH instead of the user PATH, a JDK (Java Development Kit — the runtime sdkmanager.bat needs), the "Command line tools only" ZIP from developer.android.com/studio, a USB cable, and an Android phone with Developer options → USB debugging enabled. — evidence; status: заявление источника.
  4. What you end up with: sdkmanager.bat and adb.exe callable from any folder, %LOCALAPPDATA%\Android\Sdk\platform-tools holding the full adb/fastboot set, accepted SDK licenses, and a verified adb devices listing your phone. — evidence; status: заявление источника.
  5. [ ] Windows 10 or 11, 64-bit. The paths below are the same on both. If you are building the machine from scratch, see How to Install Windows 11 26H2: Step-by-Step Guide with Official ISO first. — evidence; status: заявление источника.
  6. [ ] A JDK installed and visible to the shell. Check with java -version. If it prints 'java' is not recognized…, install a JDK and reopen the terminal. Which JDK major version the current command-line tools require changes between releases — verify against the official Android documentation before downloading a JDK. — evidence; status: заявление источника.
  7. [ ] Free disk space: a few GB if you later add emulator system images; platform-tools alone is small. — evidence; status: заявление источника.

4. Entities

EntityTypeRole
android sdk command line tools windowsтема/инструментупоминается в заголовке, TL;DR или разделах гайда
как установить adb без android studioтема/инструментупоминается в заголовке, TL;DR или разделах гайда
sdkmanager windows 11 настройкапродукт/модельупоминается в заголовке, TL;DR или разделах гайда
android platform-tools portable установкатема/инструментупоминается в заголовке, TL;DR или разделах гайда
Windowsплатформа/технологияупоминается в заголовке, TL;DR или разделах гайда
Androidплатформа/технологияупоминается в заголовке, TL;DR или разделах гайда

5. Context

  • Guide — describes → How to Install Android SDK Command-line Tools on Windows Without Android Studio: sdkmanager, adb and platform-tools (AR-GUIDE-KAKUSTANOV-001).
  • Guide — includes step → Step 1. Unpack the tools and pin the SDK location (AR-GUIDE-KAKUSTANOV-001).

6. Reliability

Confirmed

No independent confirmation is provided; source claims and editorial conclusions are separated below.

Source claims

  • Product features, versions, prices and limits come from vendors and the guide.
  • Commands and steps are recommendations, not guaranteed results.

AI Release analysis

  • Structure, comparison and selection criteria are editorial.
  • The guide does not replace an independent audit or legal advice.

7. Unknowns

  • Current versions, prices and limits.
  • Independent benchmarks and quality checks.
  • Terms of use and data policy.

8. Sources

SourceTypeRole
No external links——

Cite as: AI Release. Как установить Android SDK Command-line Tools на Windows без Android Studio: sdkmanager, adb и platform-tools. ai-release.org.