USB Debugging Enabled but Device Not Detected – Fix Guide
In this article
USB debugging can be turned on, yet the computer still fails to detect the Android device because of driver mismatches, cable problems, or incorrect connection settings.
What You’ll Need
- A USB cable that supports data transfer (not power‑only)
- A Windows PC or Mac with administrator rights
- The Android device you want to connect
- Optional: Google’s USB driver (Windows) or Android File Transfer (Mac)
Step‑By‑Step
- Verify that the USB cable is not damaged. Use the original cable that came with the phone or a certified high‑quality cable. Some inexpensive cables only charge and lack the data wires needed for debugging.
- On the Android device, open Settings → About phone and tap Build number seven times to enable Developer Options if they are not already visible.
- Return to Settings → System → Developer options. Toggle USB debugging on. If a prompt appears asking to allow USB debugging from this computer, tap Allow and optionally check Always allow from this computer.
- Connect the phone to the computer using the data‑capable USB cable. On the phone, pull down the notification shade and look for the USB connection type. Choose File Transfer / Android Auto or USB for debugging. Selecting “Charging only” will prevent detection.
- On Windows, open Device Manager. Expand the Android Device or Other devices section. If you see a yellow triangle or an entry named “ADB Interface” with an error, right‑click and select Update driver. Choose Browse my computer for drivers and point to the folder where the Google USB driver is extracted (usually
extras\google\usb_driverin the Android SDK). - On macOS, download and install Android File Transfer if it is not already present. Then open a terminal and run
adb devices. If the device is listed as “unauthorized”, check the phone for a permission dialog and tap Allow. - If the device still does not appear, restart both the computer and the Android phone. After reboot, repeat steps 4‑6 before installing any additional software.
- Test the connection by opening a command prompt (Windows) or terminal (macOS) and typing
adb devices. A healthy connection shows the device’s serial number followed by the worddevice.
Common Mistakes
- Using a USB‑C cable that only supports charging – it lacks the data lines required for ADB.
- Leaving the USB mode set to “Charging” or “MIDI” instead of “File Transfer”.
- Ignoring the authorization prompt that appears on the phone when you first connect.
- Installing the wrong driver version – the generic “MTP” driver will not enable debugging.
- Connecting to a USB hub that does not provide sufficient power or data bandwidth.
Tips
- Keep the Android SDK Platform‑Tools folder in your system PATH; this lets you run
adbfrom any command window. - Enable “Stay awake” in Developer options while troubleshooting; it prevents the phone from sleeping and dropping the connection.
- If you have multiple Android devices, use
adb -s <serial>to target a specific one. - On Windows, disable “USB selective suspend” in Power Options to avoid intermittent disconnects.
- For devices with a locked bootloader, some custom ROMs may hide the ADB interface; ensure you are using a stock or compatible ROM.
Troubleshooting
If the steps above do not resolve the issue, follow this escalation flow:
- Check the cable and port. Swap the USB cable and try a different USB port (preferably a USB‑2.0 port rather than a USB‑3.0 hub).
- Verify driver installation. In Device Manager, uninstall any entry that says “Android” or “ADB Interface”. Then click Action → Scan for hardware changes to force Windows to reinstall the driver.
- Re‑install Platform‑Tools. Delete the existing
platform-toolsfolder and download the latest version from the official Android developer site. - Disable antivirus or security software temporarily. Some security suites block the ADB service or the USB driver signature.
- Reset USB debugging. Turn off USB debugging, restart the phone, then turn it back on. This forces the device to renegotiate the USB connection.
- Use a different computer. If the device is detected on another machine, the problem is likely specific to the original PC’s driver or USB controller.
- Factory reset as a last resort. Only perform this if you have backed up all data, because it erases everything on the device. After resetting, enable Developer options and USB debugging again.
Frequently Asked Questions
Why does my phone show “USB charging this device” even after I enable USB debugging?
The default USB mode is often set to “Charging”. Pull down the notification shade, tap the USB notification, and select “File Transfer” or “Transfer files”. This change is required for ADB to see the device.
Can I use a wireless connection instead of a USB cable?
Yes, you can run adb tcpip 5555 while the device is connected via USB, then disconnect and connect over Wi‑Fi using adb connect <IP>. However, the initial USB connection must succeed before switching to wireless.
My Windows PC says “The driver for this device is not installed”. What should I do?
Download the official Google USB driver from the Android developer site, extract it, then in Device Manager choose “Update driver” → “Browse my computer” and point to the extracted folder.
Does enabling “USB debugging (Security settings)” affect detection?
That toggle is separate and only controls debugging of encrypted storage. It does not impact basic ADB detection, but leaving it off can cause permission errors when accessing certain protected data.
Why does adb devices list my phone as “unauthorized”?
The phone is waiting for you to confirm the RSA fingerprint. Look at the device screen, tap “Allow”, and optionally tick “Always allow from this computer”.
My Mac still does not see the device after installing Android File Transfer. What now?
Macs require the Android File Transfer app only for MTP file access; for ADB you need the command‑line tools. Ensure the adb binary is in your PATH and that you have granted the debugging permission on the phone.