Android studio Emulator ( device unauthorized)

后端 未结 10 1253
春和景丽
春和景丽 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:54

    Just delete the ~/.android folder.

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

    Issue Resolved.

    Step 1- Made a new emulator(Any). Step 2- then fixed another problem the black screen by changing the settings to use hardware graphics.(Dunno if this problem was related to the bug)

    And Bam every thing worked.

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

    I also face the same issue and its generated because I copied my SDK from one PC to another PC with Same configuration(Software and Hardware). Now I create an emulator on Pie and also tried Oreo but unauthorised comes for both.

    Solution: I delete my build tools, platform tools, emulator only not complete SDK and download all of them again. Now I create my emulator for all type of Version and now no unauthorised error for all type of emulators.

    0 讨论(0)
  • 2021-02-12 23:01

    I found a mismatch between the .android/adbkey* files associated with the user running the process running adbd, and the same file associated with the user running the emulator.

    I don't know about windows, but this is possible in Linux if you run adb as root to work around file permissions.

    Fix: As the user running the emulator, type this into a command shell:

    adb kill-server; adb devices
    
    0 讨论(0)
提交回复
热议问题