skip to Main Content

I just installed Android Studio Bumblebee (2021.1.1 Patch 2)

But when I try to run my emulator, I got allow USB debugging prompt that always showed up even after I press allow, check the always allow option, or even cancel it.
I already tried to restart my adb server and remove and create a new emulator, wipe the data and try to cold boot it, but the issue persists.

Does anyone know what is the root cause of this issue and how to solve it?

I can still develop using real device but I do want to know if this issue able to be resolved.

emulator keep showing prompt

Emulator: Google Pixel 3 API 30

3

Answers


  1. Chosen as BEST ANSWER

    I able to resolve this issue by creating new AVD with X86_64 system image. ADB devices

    Emulator running


  2. If the "Allow USB debugging" message is shown again and again then this is usually a problem of the host, not of the Android device.

    You should reset the Android ADB authentication key by deleting it and then restarting ADB. A new authentication key (pair) will be generated which will hopefully work.

    To do so delete the files adbkey and adbkey.pub in the folder ~/.android/.

    Then execute adb kill-server and finally restart adb by executing adb start-server.

    Note that this will reset USB ADB authorization of all devices you had connected to that PC/user account.

    Login or Signup to reply.
  3. I had the same issue and and manage to fix it by turning off and back on usb debugging in emulator developer options. Still don’t know what caused the issue in the first place.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search