Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

https://i.stack.imgur.com/QfOMm.png

I have tried the following, but nothing worked:

  1. Adb kill-server
  2. Adb start-server
  3. Kill adb process from Task Manager
  4. Restarted both the computer and the device
  5. Selected both MTP and PTP connections in my device's USB debugging settings.
like image 758
Urvashi kharecha Avatar asked May 22 '19 07:05

Urvashi kharecha


3 Answers

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.

like image 82
Joachim Avatar answered Oct 04 '22 22:10

Joachim


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.

like image 22
Shohel Rana Avatar answered Oct 04 '22 22:10

Shohel Rana


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

like image 21
No Name Avatar answered Oct 04 '22 22:10

No Name