Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

Install Google’s SDK Platform-Tools for Windows, enable USB debugging on your Android phone, connect a data-capable USB cable, then run adb devices in Command Prompt. When the phone shows an RSA authorization prompt, unlock it and tap Allow. A serial ending in device confirms that ADB is ready; unauthorized means the phone still needs approval.

What ADB does

Android Debug Bridge (ADB) is a command-line tool for communicating with an Android device. On Windows, an ADB client runs in Command Prompt, an ADB server runs on the PC, and the adbd daemon runs on the phone or emulator.

With ADB you can open a device shell, install or remove APKs, copy files, read logs, inspect system properties, and reboot the device. USB debugging and the phone’s on-screen RSA approval are security gates: commands cannot run until you unlock the phone and approve that computer.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install ADB on Windows

  1. Download the current SDK Platform-Tools for Windows package from Google’s Android Developers site. Android Studio is not required for basic ADB use.
  2. Extract the ZIP to a simple directory such as C:Androidplatform-tools.
  3. Open that folder in File Explorer, click the address bar, type cmd, and press Enter. Command Prompt opens with the folder already selected.
  4. Verify the executable with:
    adb version

    You should see the installed Android Debug Bridge version rather than a “not recognized” error.

Make ADB available from every folder

For convenience, add the absolute platform-tools directory to the Windows PATH environment variable:

#1 Best Overall
Sale
Syntech USB C to USB Adapter Pack of 2, USB 3.0 to Thunderbolt 5/4 Adapter
  • Materials and Design: The adapter is made with anti-interference zinc alloy metallic housing and minimalist design with anti-slippery embossments
  • Connectors: Engineered for enhanced durability, the male USB C and female USB3 connectors are designed to be plugged and unplugged up to 10000 times
  • Compatibility: This USB C to USB 3.0 adapter is compatible with iPhone 17/17e/17 Air/17 Pro/17 Pro Max and MacBook Pro after 2016 and MacBook Air after 2018 and most of the laptops, tablets and smartphones with a USB Type C port
  • USB 3.0 Speed in Two: Came in two fast speed adapters in data transfer and charging with premium materials. A foam container is also included for storage and travel
  • Compact and Easy to Use: Plug and play, no driver required; Simple structure, lightweight and portability; Also, you can sync or charge your phone with this USB C to USB adapter
  1. Open Windows Search and type environment variables.
  2. Choose Edit the system environment variables, select Environment Variables, then edit Path under your user variables.
  3. Add C:Androidplatform-tools, confirm every dialog, close existing Command Prompt windows, and open a new one.
  4. Run adb version again. A new terminal is necessary because old processes keep the previous PATH.

Prepare and connect an Android phone over USB

  1. On the phone, open Settings > About phone. Tap Build number repeatedly until Android reports that Developer options are enabled. The exact wording and location vary by manufacturer.
  2. Return to Settings, open Developer options, and turn on USB debugging.
  3. Connect the phone with a USB cable that supports data, not charging only. If Windows does not recognize it, install the appropriate OEM USB driver.
  4. Unlock the phone and run this in Command Prompt:
    adb devices
  5. Read the phone’s Allow USB debugging? RSA dialog and tap Allow. Run adb devices again.

Understand the device list

Output Meaning Action
A serial followed by device Connected and authorized Run ADB commands.
A serial followed by unauthorized The phone has not approved this computer Unlock the phone, accept the RSA prompt, and rerun the command.
No entries ADB sees no usable device Check the cable, USB port, USB mode, driver, and debugging setting.

adb devices -l adds descriptive information such as the model and transport details.

Essential ADB commands in Command Prompt

Command Purpose
adb version Displays the installed client version.
adb devices / adb devices -l Lists connected phones and emulators.
adb shell Opens an interactive shell on the Android device. Type exit to return to Windows.
adb shell getprop Prints Android system properties, useful for model, build, and release details.
adb install "C:pathtoapp.apk" Installs an APK from Windows.
adb uninstall com.example.app Removes an installed package by its application ID.
adb pull /sdcard/DCIM/photo.jpg "C:UsersyouPictures" Copies a file from Android to Windows.
adb push "C:pathtofile.txt" /sdcard/Download/ Copies a Windows file to Android.
adb logcat Streams Android system and application logs; press Ctrl+C to stop.
adb reboot Restarts the device.
adb help Shows command-line help and available options.

Quote any Windows path containing spaces. A command such as adb shell changes the command environment to Android; Windows paths and Android paths are not interchangeable.

Choose a specific phone or emulator

If adb devices lists more than one target, ADB cannot guess which one you mean. Copy the desired serial and insert it after -s:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
adb -s SERIAL install "C:Appsdemo.apk"
adb -s SERIAL shell getprop
adb -s SERIAL pull /sdcard/Download/report.txt "C:Reports"

The ADB reference also supports -d to select a USB device and -e to select an emulator. Explicit targeting is safer in scripts and CI jobs.

Rank #2
Anker USB C Adapter (2 Pack), USB C to USB Adapter High-Speed Data Transfer
  • Anker Advantage: Join the 55 million+ powered by our leading technology.
  • Widely Compatible: Transform any USB-C port into a USB-A port and connect up a wide range of USB-A devices including external hard drives, phones, mice, printers, and more.
  • Strong and Stylish: Finished in Space Gray and constructed from premium scratch-resistant aluminum, the adaptor not only blends seamlessly with your MacBook Pro but also withstands the wear and tear of day-to-day use.
  • Superior Connectors: Engineered for enhanced durability, the male USB-C and female USB-A 3.0 connectors are designed to be plugged and unplugged up to 10,000 times—basically for life.
  • Space for Two: The ultra-slim form factor ensures there’s space to plug two adaptors side by side into your MacBook Pro’s USB-C ports.

Use wireless debugging instead of USB

Android 11 (API level 30) and later support wireless debugging. The phone and PC must be on the same trusted network.

  1. Open Developer options and enable Wireless debugging.
  2. Choose the phone’s pairing option and note the IP address, pairing port, and code shown on screen.
  3. In Command Prompt, pair using the address and port displayed by Android:
    adb pair PHONE_IP:PAIRING_PORT

    Enter the pairing code when prompted.

  4. Use the connection address shown by the phone (which can use a different port):
    adb connect PHONE_IP:CONNECT_PORT
    adb devices

Android’s labels and ports can vary by release, so use the values currently shown in Wireless debugging. To return to USB, disable wireless debugging or disconnect the network connection and reconnect the cable.

USB versus wireless ADB

Factor USB Wireless
Setup Enable debugging, use a data cable, and possibly install an OEM driver. Requires Android 11/API 30 or later, pairing, IP addresses, ports, and a shared network.
Reliability Usually fewer network dependencies. Can drop when the network changes, sleeps, or blocks peer traffic.
Speed Consistent local cable transfer. Depends on Wi-Fi conditions and network congestion.
Security exposure Approval is tied to the connected computer and cable. Use only a trusted network; turn wireless debugging off when finished.
Best use Initial setup, large transfers, recovery, and unstable networks. Development when a cable is inconvenient and the network is trusted.

Practical workflows

Install and verify an APK

adb devices
adb install "C:UsersyouDownloadsapp.apk"

ADB reports success or an installation error. If the package is already installed, use the app’s documented update or reinstall procedure rather than deleting data unnecessarily.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Move photos or test files

adb pull /sdcard/DCIM/Camera/photo.jpg "C:UsersyouPictures"
adb push "C:UsersyouDesktoptest.json" /sdcard/Download/

Confirm that the destination directory exists and that Android grants access to the source location.

Rank #3
Apple USB-C to USB Adapter
  • The USB-C to USB Adapter lets you connect iOS devices and many of your standard USB accessories to a USB-C or Thunderbolt 3 (USB-C) enabled Mac, iPad, or iPhone.
  • Plug the USB-C end of the adapter into a USB-C or Thunderbolt 3 (USB-C) port on your Mac, iPad, or iPhone, and then connect your flash drive, camera, or other standard USB device.
  • You can also connect a Lightning to USB cable to sync and charge your iPhone, iPad, or iPod.

Capture logs while reproducing a problem

adb logcat

Start logging, reproduce the issue on the phone, then press Ctrl+C. For a repeatable diagnostic script, redirect output to a Windows file, for example adb logcat > adb-log.txt.

Run repeatable commands from a batch file

Place one command per line in a .bat file. Add adb devices near the beginning and use -s SERIAL whenever more than one target may be connected. Test the script interactively first so a typo cannot affect the wrong device.

Troubleshooting ADB on Windows

“adb is not recognized”

Command Prompt cannot find adb.exe. Open Command Prompt from the extracted platform-tools folder, or add that folder to PATH, close the terminal, and open a new one.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

No device is listed

  • Unlock the phone and verify Developer options > USB debugging.
  • Try a known data cable and another USB port; charging-only cables will not work.
  • Choose a file-transfer USB mode if the phone offers a USB notification.
  • Install the correct OEM USB driver for the phone.
  • Run adb kill-server, reconnect the phone, then run adb start-server and adb devices.

The status is “unauthorized”

Look at the phone, accept the RSA dialog, and rerun adb devices. If no prompt appears, revoke USB debugging authorizations in Developer options, disconnect and reconnect, unlock the phone, and approve the new prompt.

Rank #4
Basesailor USB to USB C Adapter,USBC Female to USB A Male Charger Adapter
  • TURN USB-A PORTS INTO USB-C: Convert the USB-A ports on your laptops, wall chargers, car chargers, hubs, or power banks into USB-C inputs for everyday charging and data transfer. Just plug the adapter into a USB-A port and connect your USB-C cable to charge or sync compatible devices.
  • DESIGNED FOR USB 2.0 CHARGING & SYNC (NO VIDEO): Supports USB 2.0 data transfer up to 480 Mbps and charging up to 5V/2A, depending on your USB-A power source. Not for HDMI, DisplayPort, VGA, or any other type of video output, and not for driving a dock’s main USB-C host cable or high-power USB-C fast-charging protocols (PD/PPS).
  • ALUMINUM ALLOY HOUSING: Built with an aluminum alloy shell that helps with heat dissipation during use compared to plastic adapters. The metal body surrounds the internal USB 2.0 components and supports stable charging and data transfer during everyday plug-in, unplugging, and device connections.
  • COMPACT ENOUGH TO LEAVE PLUGGED IN: Low-profile, lightweight design that sits close to the USB-A port, so it can stay plugged into your laptop, charger, or hub without getting in the way. Reduces wear from constant plugging/unplugging and lowers the chance of misplacing the adapter.
  • VERSATILE USB-C ACCESSORY COMPATIBILITY: Works with USB-C cables, phones, tablets, earphones, flash drives, card readers, wireless adapters, and other low-power USB-C accessories. A simple, practical add-on to keep your older USB-A gear useful in a USB-C world.

“More than one device/emulator”

Run adb devices, copy the required serial, and prepend adb -s SERIAL to every command. This includes commands in scripts.

Wireless pairing fails

Confirm Android 11 or newer, keep both devices on the same trusted Wi-Fi network, use the current pairing code and port shown on the phone, and check that the PC firewall or guest-network isolation is not blocking local connections. Reopen Wireless debugging to obtain fresh ports if the old values expired.

Commands fail because of syntax

Run adb help, check whether the command expects an Android path or a Windows path, and quote Windows paths containing spaces. For a package operation, verify the APK path or application ID exactly.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Security, reliability, and cost notes

Platform-Tools is the supported package for ADB and costs nothing to download. USB debugging gives an authorized computer powerful access to the phone, so approve only computers you trust and revoke authorizations when a shared or temporary PC is no longer needed. Wireless debugging adds network exposure; keep it disabled outside a trusted local network.

Best Value
JSAUX USB C to USB 3.0 Adapter [2 Pack], USB C Male to USB Female OTG Cable Adapter Compatible with MacBook Pro/Air, iPhone 18 Pro Max/iPhone Duo‌/Air/17/16/15 Series, Samsung Galaxy S26/S25/S24/S23
  • USB OTG(On The Go): Plug in and use computer peripherals, such as flash drive, keyboard, hub, mouse and more, makes your USB C devices compatible with USB drives and any other USB devices that support OTG. Not compatible with video output.
  • USB 3.0 Super Speed Transfer: Full USB 3.0 super speed data transfer up to 5Gbps, 10x faster than USB 2.0; Transfer files, HD movies and songs to your USB C devices in seconds
  • Nylon Tangle-free Design: Tangle-free nylon braided design, premium nylon braided cable adds additional durability and tangle free
  • Aluminum Body: Made out of sturdy aluminum alloy, innovative engineering ensures durability and a long life span
  • What you get: We provide this 2 USB C adapters. If you have any questions,we will resolve your issue within 24 hours; Compatible with all USB C devices, Compatible with iPhone 18 Pro, iPhone 18 Pro Max, iPhone Duo‌, Samsung Galaxy S26/S25/S24/S23, MacBook Pro/Air, LG G6 G5 V20 and more.

USB generally provides the most predictable connection for recovery work and large file transfers. Wireless is convenient but sensitive to sleep, roaming, firewall rules, and changing IP addresses. In either mode, check adb devices before a destructive or automated operation and target a serial explicitly when multiple devices are present.

Or skip the browser setup

If the task that brought you here is actually taking webpage screenshots rather than controlling an Android device, ScreenshotNeo removes the browser-installation work. Its API accepts one request and returns a PNG, JPEG, WebP, or PDF. Before capture it accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets; those steps can be disabled individually. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the result with X-Page-Verdict and X-Billed headers. An MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients.

See the ScreenshotNeo documentation for all options. A direct cURL call is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Create a free ScreenshotNeo account to get an API key.

Frequently Asked Questions

Can ADB factory-reset a phone by accident?

The commands covered here do not factory-reset a device. A reset requires a separate, explicitly destructive command or recovery action, so review any script before running it and verify the selected serial.

Can I use ADB with a work-managed phone?

Possibly, but an organization’s Android management policy can disable USB or wireless debugging, block drivers, or restrict package installation. Contact the administrator rather than attempting to bypass those controls.

The Bottom Line

Install Platform-Tools, enable USB debugging, approve the RSA prompt, and make adb devices show device. From there, shell access, APK installation, file transfer, logs, rebooting, and—on Android 11 and later—paired wireless debugging are available directly from Command Prompt.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.