Skip to content Skip to sidebar Skip to footer

My Device Doesn't Show The Allow Usb Debugging Dialog

My Android Studio shows 'Allow USB debugging from your device', but my device does not show that dialog: I have tried the following, but nothing worked: Adb kill-server Adb start

Solution 1:

Can you Please Following Below step:

1) Go to Phone Setting > Developer options > Revoke USB debugging.

2) Turn off USB debugging and Restart Again.

It will work definitely, in my case it worked.

Solution 2:

A different, hardware-oriented approach:

Are you sure the cable you're using does allow for data transfer? Some cheaper cables - usually sold with chargers - don't allow for anything else than charging. Try another cable, and see if that works.

Solution 3:

Try this step:

  1. Tools > Connection Assistant (it will appear in the right side of the android studio once you click it)
  2. Click the Rescan USB devices
  3. Click the next buttons
  4. It should appear the device connected to your computer or try to restart ADB Server if device does not appears in the panel.

sample screenshot below

enter image description here

Hope it helps to fix your problem

Solution 4:

This is what solved my problem, appears that the public key might have been missing from my computer, causing the issue. Removing the private key solved the issue.

  • browse to the C:/Users//.android directory and delete adbkey and adbkey.pub
  • do adb kill-server
  • do adb devices
  • watch for an "Allow USB debugging" prompt in the headset

Source

Solution 5:

For anyone who is interested, here is how I authorized my PC without the Dialog showing for unkown reseaons (requires device to be rooted):

  1. Go to C:\Users<profile_name>.android\adbkey.pub
  2. Copy the file to any location in your phone using USB cable.
  3. Using Root Explorer, move the adbkey.pub onto this location: /data/misc/adb/
  4. rename it from adbkey.pub to adb_keys and allow read and write permissions
  5. Reboot the device.

Now, your devices will be authorized as if you clicked the Authorize button on the Dialog.

Post a Comment for "My Device Doesn't Show The Allow Usb Debugging Dialog"