TechBuzzPro

USB Debugging Dialog Not Showing? Fix It Step by Step

· 7 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your device doesn't show the "Allow USB debugging" dialog, the most common cause is that the USB connection mode is set to charge-only, so the phone never presents the debugging interface to your computer. The quickest fix is to pull down the notification shade after plugging in, tap the USB notification, and choose File Transfer (MTP) or PTP instead of "Charging only." Then unplug and replug the cable. If that fails, toggle Developer options off and on, revoke USB debugging authorizations, and make sure you are using a data-capable cable and a direct USB port.

This guide walks through the reliable fixes in order, from the simplest to the more involved. It applies to Android phones and tablets connected to a Windows PC, Mac, or Linux machine. Menu labels vary slightly by manufacturer (Samsung, Google, Xiaomi, OnePlus) and Android version, so if a label doesn't match exactly, look for the closest equivalent in the same area of Settings.

What You'll Need

  • Your Android device and a computer with the platform-tools (adb) installed, or the official Android Studio package.
  • A USB cable that supports data transfer, not a charge-only cable. The cable that came with the phone is usually the safest bet.
  • Access to the device's Settings app and the ability to unlock the screen.
  • Optional: a different USB port or a different computer to rule out a faulty port.

Step-by-Step

  1. Unlock the phone and keep the screen on. The authorization dialog only appears on an unlocked device. If the screen is off or locked, the prompt may be suppressed. Swipe up to unlock and leave the screen on while you connect.
  2. Plug the cable directly into the computer. Avoid USB hubs, docking stations, and front-panel ports if possible. Use a port on the back of a desktop or directly on a laptop. A hub can block the data lines that carry the debugging handshake.
  3. Open the notification shade and change the USB mode. After connecting, a notification such as "Charging this device via USB" appears. Tap it and select File Transfer (sometimes called MTP) or PTP. "Charging only" prevents the debugging interface from appearing on many devices. On some phones the option is under USB preferences or Use USB for.
  4. Check that Developer options are still enabled. Go to Settings > System > Developer options (on Samsung: Settings > About phone > Software information, then tap Build number seven times if the menu is missing). Confirm the USB debugging toggle is on. If Developer options disappeared after a system update, re-enable them.
  5. Revoke USB debugging authorizations. In Developer options, tap Revoke USB debugging authorizations and confirm. This clears stale keys that can stop the dialog from appearing. Then unplug and replug the cable. The dialog should appear within a few seconds.
  6. Toggle USB debugging off and on. Turn the USB debugging switch off, wait five seconds, and turn it back on. This restarts the adb daemon on the device and often forces the prompt to show.
  7. Restart the adb server on the computer. Open a terminal or command prompt and run adb kill-server followed by adb start-server. Then run adb devices. If the device is listed as "unauthorized," the dialog is waiting on the phone; check the screen again. If it is listed as "offline," replug the cable.
  8. Try a different cable and port. Charge-only cables are a frequent culprit. Swap to a known data cable and a different USB port. On a laptop, try a port on the opposite side. If you have another computer, test there to isolate whether the issue is the phone or the PC.
  9. Restart both devices. Reboot the phone and the computer. A reboot clears stuck USB states and adb processes. After rebooting, repeat steps 1–3.
  10. Check for OEM unlock or security restrictions. Some manufacturer skins require OEM unlocking to be enabled in Developer options before USB debugging works fully. Also check that no security app or MDM (mobile device management) profile is blocking developer settings; work profiles and parental-control apps can disable USB debugging silently.

Common Mistakes

  • Leaving the USB mode on "Charging only." This is the single most common reason the dialog never appears. Always switch to File Transfer or PTP.
  • Using a charge-only cable. Many cables sold for charging lack data wires. If the phone charges but the computer never sees it, suspect the cable first.
  • Connecting through a hub or dock. Hubs can drop the data connection needed for adb. Plug directly into the computer.
  • Expecting the dialog on a locked screen. The prompt appears only when the device is unlocked and awake.
  • Ignoring the "unauthorized" state. If adb devices shows unauthorized, the dialog is likely on the phone behind the lock screen or under another window. Check the notification shade.
  • Forgetting to revoke old authorizations. Stale RSA keys from a previous computer can prevent a new prompt from showing.

Tips

  • Keep the phone unlocked and the screen on during the first connection; the dialog can time out if the screen sleeps.
  • Use the cable that came with the device when possible; it is almost always data-capable.
  • If you use a Windows PC, install the official Google USB driver through the Android SDK Manager for more reliable detection.
  • On macOS and Linux, no extra driver is usually needed, but you may need to accept the "Allow" prompt on the computer as well.
  • After any system update, recheck Developer options; updates sometimes reset USB debugging to off.
  • If you use a work profile, test with a personal profile; MDM policies can block debugging.

Troubleshooting

If the dialog still does not appear after the steps above, work through these checks in order. First, confirm the phone is actually detected by the computer: on Windows, open Device Manager and look for an unknown device or an Android device with a warning icon. If it appears with a warning, the driver is missing or incorrect; install the official Google USB driver. On macOS, open System Information and check the USB section; if the phone is not listed, the cable or port is the problem.

Second, test with a different computer. If the dialog appears there, the issue is with the original computer's drivers or adb installation. Reinstall platform-tools from the official Android developer site and try again. Third, boot the phone into safe mode (press and hold the power button, then long-press Power off and tap Safe mode on most devices) to rule out a third-party app blocking the prompt. If the dialog appears in safe mode, uninstall recently installed security or cleaner apps.

Fourth, check for a pending system update. Some Android builds have bugs that suppress the authorization dialog; installing the latest official update can resolve it. Fifth, as a last resort, back up your data and try a factory reset. A factory reset erases all data on the device, so make sure everything important is backed up first. Only do this if nothing else works, and set up the device again before re-enabling USB debugging.

If none of these steps work, the USB port on the phone may be damaged or dirty. Inspect the port for lint and try a different cable again. In rare cases, the phone's USB controller fails and needs service.

Frequently Asked Questions

Why does the "Allow USB debugging" dialog never appear?

Most often because the USB connection is in charging-only mode, the cable is charge-only, or the screen is locked. Change the USB mode to File Transfer, use a data cable, and keep the phone unlocked.

What does "unauthorized" mean in adb devices?

It means the computer is connected but the phone has not yet approved the RSA key. The dialog should be on the phone; unlock it and check the notification shade. If it is not there, revoke USB debugging authorizations and replug.

Do I need to enable OEM unlocking?

Not for basic USB debugging on most devices, but some manufacturer skins require it. If the USB debugging toggle is greyed out, check whether OEM unlocking is available and enabled in Developer options.

Can a work profile or MDM block USB debugging?

Yes. Device management policies and some security apps can disable developer options or USB debugging. Test with a personal profile or temporarily remove the management profile if you control it.

Will revoking USB debugging authorizations delete my data?

No. It only clears the saved computer keys, so you will need to approve each computer again. Your apps and files are untouched.

Why does the dialog appear on one computer but not another?

The computer that fails likely has missing or outdated USB drivers or an older adb version. Reinstall platform-tools and the official Google USB driver on that machine.