Android studio Emulator ( device unauthorized)

后端 未结 10 1252
春和景丽
春和景丽 2021-02-12 22:11

I know that on a normal device I have to authorize the debugging process, but Authorizing it on an emulator is my first time.

I just installed my first emulator on my ho

相关标签:
10条回答
  • 2021-02-12 22:42

    TOOLS-->AVDMANAGER

    Image1

    Image1

    Click on tooltip on the right side, you can see wipe data before doing that turn off your emulator.

    This Worked for me.

    0 讨论(0)
  • 2021-02-12 22:43

    when this happens you can request permission through the emulator demonstrative video

    But on the android Q api 29 emulator, when USB debugging is requested, the alert is gone before it can be confirmed, and the emulator bugs, preventing the emulator from connecting. I am not able to solve, just resetting and losing everything to solve.

    0 讨论(0)
  • 2021-02-12 22:47
    1. Keep the Emulator on

    2. Delete android folder using

      rm -rf ~/.android

    3. Then restart adb

      adb kill-server

    4. You should get a prompt on the emulator to allow USB Debugging

    5. View the device status

      adb devices

    This should fix the issue, I used this to fix when I was having issues launching the emulator from expo when making a react native app.

    0 讨论(0)
  • 2021-02-12 22:52

    For this to work for me I had to start a new emulator from android studio with Oreo instead of Pie as a system image.

    0 讨论(0)
  • 2021-02-12 22:53

    Had the same issue, none of the answers here worked, eventually found the following worked for me:

    Create a new emulator without Google Play and start it, visual studio detects it on first start and the device will be authorised.

    0 讨论(0)
  • 2021-02-12 22:54

    I was facing the same issue and tried all most all the suggested steps but following worked for me :

    Steps:

    1. Delete all the emulators with google play.
    2. Create new emulator without google Play .
    3. Now if you run the emulator, no authorization issue will be there

    Or

    An another approach to fix this issue is : Steps:

    1. let your emulator launch
    2. Go to settings and enable the "USB debugger" option as you normally do in real time devices(5 click on Developer Options->build number)
    0 讨论(0)
提交回复
热议问题