Android studio Emulator ( device unauthorized)

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

提交回复
热议问题