You run adb devices and get an empty list under “List of devices attached,” or Command Prompt says “‘adb’ is not recognized as an internal or external command, operable program or batch file.” The cause is usually a charge-only cable, a missed USB debugging prompt, the wrong driver, or a broken PATH entry, and each one takes a minute or two to check.
Fixes for ADB not finding your Android device
Fix #1: Read what adb devices is telling you
The output of adb devices points you to the right fix. Start here so you don’t waste time on drivers when the phone is only waiting for approval.
- Connect your phone to your PC with a USB cable and unlock the phone.
- Open the folder that contains
adb.exe. For Android Studio installs, that’s usuallyC:\Users\<username>\AppData\Local\Android\Sdk\platform-tools. - Right-click an empty area of the folder and select Open in Terminal.
- Run
.\adb.exe devices. PowerShell needs the.\prefix to run a program from the current folder.

- Compare your result with this table:
| Result | What it means | Go to |
|---|---|---|
A serial number followed by device | ADB is working | You’re done |
unauthorized | The phone hasn’t approved this PC | Fix #5 |
offline | ADB sees the phone, but the session is stuck | Fix #2, then Fix #6 |
| Empty list | The cable, USB mode, phone settings, or driver is failing | Fix #2 through Fix #5, then Fix #9 |
adb is not recognized | ADB isn’t installed or isn’t on your PATH | Fix #6 and Fix #7 |
If the phone shows up here but not when you type adb in another window, the phone and cable are fine. Your PATH is the likely problem, so jump to Fix #7.
If you got the “not recognized” error, skip the phone checks and go straight to Fix #6 and Fix #7. For an empty list, a quick look in Device Manager (Fix #9, step 3) tells you early whether Windows sees the phone at all.
Fix #2: Restart the ADB server
A stale ADB server is a common cause of offline results and phones that disappear from the list. Restarting it costs nothing.
- Close Android Studio, emulators, scrcpy, and any phone-management tool. Some of these bundle their own copy of ADB, and a different version can restart the shared ADB server and disconnect your phone.
- Run
adb kill-server. - Run
adb start-server. - Run
adb devices.
You should see “daemon started successfully” after the second command. If the phone now appears with device next to it, you’re set.
Fix #3: Swap the cable and USB port
Plenty of USB cables carry power but no data. Your phone charges, so everything looks normal, but Windows never sees a data connection.
- Unplug the current cable.
- Connect the phone with a cable you know transfers data, such as the one that came with the phone or a known-good USB-C data cable.
- Plug it straight into the PC instead of a USB hub or monitor port. On a desktop, use a rear port on the motherboard.
- If a USB 3.x port behaves inconsistently, try a USB 2.0 port.
- Run
adb devicesagain.
If several ports fail, your PC’s USB port may have an issue beyond ADB itself. Restarting both the PC and the phone at this point is worth trying too.
Fix #4: Switch the phone to File transfer mode
Android offers several USB modes when you plug in. ADB and File transfer (MTP) are separate USB interfaces, and many phones expose ADB in charge-only mode. Some phones and drivers still behave better after a mode change, so it’s a quick thing to try if the list is still empty. For broader connection problems, see what to do when your computer doesn’t recognize your phone.
- With the phone connected, swipe down from the top of the screen.
- Tap the USB notification (it might say Charging this device via USB).
- Select File transfer / Android Auto. The label varies by manufacturer.
- Run
adb deviceson the PC.
One caution: Windows showing your phone in File Explorer doesn’t prove ADB is set up. File transfer (MTP) and ADB use separate driver interfaces, which is why Fix #9 exists.
Fix #5: Turn on USB debugging and approve the PC
ADB can’t see a phone with USB debugging off. Turning it on requires unlocking Developer options first, and menu names differ between Pixel, Samsung, Xiaomi, and other brands.
- Unplug the phone from your PC.
- Open Settings and go to About phone or About device. On some phones, Build number sits one level deeper under Software information or Version.
- Tap Build number repeatedly until Android says Developer options are on. It’s often seven taps, but it varies.
- Go back to Settings and open Developer options. Look under System, Additional settings, or a similar section.
- Turn on USB debugging and tap OK on the confirmation.
- Reconnect the phone and unlock it.
- Run
adb deviceson the PC. - On the phone, tap Allow on the Allow USB debugging? prompt. Check Always allow from this computer if it’s your own PC.
Your phone should now show device instead of unauthorized. Google’s device setup guide lists USB debugging and a working USB driver as the two key prerequisites on Windows.
If the prompt never appears, reset the trust between the phone and PC:
- In Developer options, tap Revoke USB debugging authorizations and confirm.
- Unplug the phone.
- On the PC, run
adb kill-server, thenadb start-server. - Plug the phone back in and unlock it.
- Run
adb devicesand accept the new prompt.
Fix #6: Update to the current Platform-Tools
ADB ships in Google’s Android SDK Platform-Tools package. The current release is Platform-Tools 37.0.1, from July 2026, which includes Windows improvements for wireless device discovery. An old standalone adb.exe copied from a forum or an outdated zip file may lack fixes that newer phones need, so update it before deeper troubleshooting.
To update through Android Studio:
- Open Android Studio.
- Select Tools > SDK Manager.
- Open the SDK Tools tab.
- Check Android SDK Platform-Tools.
- Click Apply or OK.
Note the Android SDK Location shown at the top of SDK Manager. That’s where your platform-tools folder lives.
If you don’t use Android Studio, download SDK Platform-Tools for Windows from the Platform-Tools release page and extract the zip to a permanent folder, such as C:\platform-tools. Then run .\adb.exe version from that folder to confirm the new version.
Fix #7: Add Platform-Tools to your PATH
If you’re seeing “not recognized as an internal or external command”, Windows doesn’t know where adb.exe is. Adding its folder to PATH lets you run adb from any terminal.
- Open Start, search for environment variables, and select Edit the system environment variables.
- On the Advanced tab of System Properties, click Environment Variables.
- Under User variables, select Path and click Edit. User variables are the better choice on a personal PC.
- Click New.
- Paste the full path to your
platform-toolsfolder, for exampleC:\Users\<username>\AppData\Local\Android\Sdk\platform-tools. Add the folder only, notadb.exeitself.
- Click OK on every open dialog.
- Close and reopen Command Prompt, PowerShell, Windows Terminal, and Android Studio. Windows that were open before the change won’t pick up the new PATH.
- Run
adb version, thenadb devices.
You should see the Platform-Tools version number, followed by your device list.
Fix #8: Remove duplicate copies of ADB
Emulators, OEM phone suites, and third-party Android tools often bundle their own adb.exe. When Windows finds an old one first, a client that doesn’t match the running server’s version restarts the server, which can disconnect your phone or leave it offline.
- Open PowerShell.
- Run
where.exe adb. - If you see more than one path, decide which one is your current
platform-toolsfolder. - Open Environment Variables (see Fix #7) and either delete the stale entries or move the current
platform-toolsentry to the top with Move Up. - Reopen PowerShell and run
where.exe adbagain. The current folder should be listed first.
If ADB works inside Android Studio but not in PowerShell, this is usually why. Android Studio uses its own SDK path, which may differ from what’s on your PATH.
Fix #9: Install the correct USB driver for your phone
Windows needs an ADB-capable USB driver for your specific phone. Google’s own driver covers Google devices only. For Samsung, Motorola, Xiaomi, OnePlus, Sony, and other brands, use the manufacturer’s current Windows USB driver, which Google links from its OEM USB drivers page.
For a Pixel or other Google phone, get the Google USB Driver through Android Studio’s SDK Manager (SDK Tools tab > Google USB Driver) or as a direct download.
To install the driver:
- Download and extract your phone maker’s driver package.
- Connect the phone and right-click Start > Device Manager.
- Expand Portable Devices, Other devices, and Universal Serial Bus devices. Your phone might appear as Android Device, Android Composite ADB Interface, its model name, or an unknown device with a warning icon.
- Right-click it and select Update driver.
- Select Browse my computer for drivers.
- Point it to the extracted driver folder and click Next.
- Unplug and reconnect the phone, then run
adb devices.
If the wrong driver got installed earlier, clear it out first:
- In Device Manager, right-click the phone and select Uninstall device.
- Check the option to remove the driver if Windows offers it.
- Unplug the phone and restart Windows.
- Install the correct OEM driver, then reconnect.
I’d skip “universal” driver packs and driver-download sites. They’re often unsigned or out of date, and the manufacturer’s own driver is free.
Fix #10: Check security software and USB policies
Endpoint security tools, firewalls, and corporate device-management software can block ADB. Work laptops are the usual suspects.
- On a work or school PC, don’t turn off protection yourself. Ask your IT admin whether a USB device-control policy blocks the Android ADB interface and whether it can be allowed.
- On your own PC, check your security app’s history or quarantine list first for a blocked
adb.exeor USB device. If you find one, allow ADB from that entry instead of disabling protection. - If nothing is logged and you still suspect the security app, pause it for a few minutes only while you run
adb devices, without browsing or opening downloads. Turn protection back on right afterward, whatever the result. - If the phone appeared only while protection was paused, add an exception for the
adb.exein yourplatform-toolsfolder. - Try a different Windows user account to rule out a profile-specific policy.
- Connect the phone to another computer. If it fails there too, the problem is more likely on the phone side.
Fix #11: Use Wireless debugging instead
Wireless debugging skips the cable and the USB driver entirely. You still need Platform-Tools, but it’s a solid workaround when Windows refuses to cooperate over USB.
- On the phone, open Developer options and turn on Wireless debugging.
- Tap Wireless debugging, then Pair device with pairing code.
- Note the IP address, the pairing port, and the six-digit code.
- On the PC, run
adb pair PHONE_IP:PAIRING_PORTand enter the code when asked. - Back on the phone’s main Wireless debugging screen, note the IP address and port listed there. This port is different from the pairing port.
- On the PC, run
adb connect PHONE_IP:DEBUG_PORT. - Run
adb devices. The phone should appear with its IP address and port.
Both devices need to be on the same network. Guest Wi-Fi with client isolation, a VPN, or a strict router or firewall can block pairing. Android Studio also has a Pair Devices Using Wi-Fi option if you’d rather click through it than type commands.
Quick answers
What does “unauthorized” mean? The phone hasn’t accepted this PC’s RSA key. Unlock the phone and tap Allow, or revoke authorizations and reconnect (Fix #5).
What does “offline” mean? ADB found the phone, but the session isn’t usable. Restart the server, reconnect, and update Platform-Tools (Fix #2 and Fix #6).
Why didn’t restarting the ADB server fix it? A restart only clears a stuck server. It can’t fix a charge-only cable, a missing driver, USB debugging being off, or a duplicate adb.exe on your PATH.
When the fixes don’t work
If the phone won’t show up on any PC, with any data cable, in File transfer mode, the phone’s USB port or charging board may be failing. Wireless debugging (Fix #11) is a good test. If that works, the phone’s ADB service is running, which points toward the USB path: the phone’s port, the cable, the driver, or a USB policy on the PC. Your next stop is the manufacturer’s support or a repair shop.
Conclusion
A known-good data cable plus accepting the Allow USB debugging? prompt (Fixes #3 and #5) clears this up most often. For the “not recognized” error, confirm Platform-Tools is installed (Fix #6) and its folder is on your PATH (Fix #7), then open a new terminal. If Device Manager keeps showing a warning icon after you install the OEM driver, or the phone drops to offline the moment you touch the cable, suspect a worn USB-C port on the phone before blaming Windows.