Emulator is broken: this adb server $ ADB_VENDOR_KEYS is not installed

Well, the update in Windows 10 broke, the computer went to sleep with the emulator open, and now it's broken. When I run the application to run in the emulator, it loads the emulator, but will not set only the timeout. When I try to run the application on a running instance of the emulator, Studio says:

com.android.ddmlib.AdbCommandRejectedException: device unauthorized.
This adb server $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
Error while Installing APK
  • I followed some other topics. I tried to change the environment variable in the control panel, but in fact I think it pointed to the right place initially, where sdks are days.
  • I tried to restart the computer. I tried to remove a pair of adb that did not work.
  • I tried removing all sdks and downloading them again.
  • I tried to remove and update Android Studio, several times. Now on AS 3.1 still does not work.

Actually a bit of a nightmare.

How to set provider keys? Using AS console commands? Can someone point me to the mannequin reference, this is a little about me, I want to fix it from the GUI.

+4
source share
2 answers

OK, so that ultimately downloading 4 and 4 x86 images of Android Android without work. Sorry if this is a recurrence. Long acting emulators

+3
source

A working fix for this particular problem is to enable the developer options on your emulator and enable "USB Debugging".

0
source

Source: https://habr.com/ru/post/1688246/


All Articles