Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: emulator & physical device: "Device is waiting for you to grant permission for USB debugging"

Android studio is not launching my device with the app, instead just the device alone. After the app is built with gradle it spins saying "waiting for device to come online".

Things I've tried:

  • In developer settings revoking permissions, turning on usb debugging, connecting and disconnecting a physical device
  • Wiping data and cold booting emulators
  • Different emulators on api 29 and 30, Pixel 3, 3a, 4
  • Changing from Media Device (MTP) to Camera (PTP)
  • Restarting my computer, Android Studio, Invalidating caches
  • Different JDKs, JVMs
  • Reinstalling Android Studio
  • Adjusting the permissions of Android studio using sudo chown -R $USER <path>
  • Restarting the abd server

Any suggestions would be great, here is a screen shot of the error as described for reference:

Emulator and physical device waiting to grant permissions

like image 783
ryankuck Avatar asked Sep 16 '25 15:09

ryankuck


1 Answers

Disable usb debugging and enable it again. Then you are asked on your android device if you want to grant permission.

I had the same issue after updating my macbook.

like image 150
Kristoffer Avatar answered Sep 19 '25 06:09

Kristoffer