Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This adb server's $ADB_VENDOR_KEYS is not set

Tags:

android

I uninstall my old android studio and delete folders from the previous installation. Then, I install the new version of android studio. But, I am having the same issue as the one on Android adb devices unauthorized

Basically, the phone will not display a message which asked me to confirm.

I found the adbkey.pub and adbkey under C:/Users/$Name/.android are missing. Did anyone know how to regenerate them?

Thanks,

like image 220
Jerry Yuan Avatar asked Oct 15 '15 19:10

Jerry Yuan


1 Answers

  1. Delete the folder "C:/Users/$Name/.android"
  2. Restart the adb server (adb kill-server; adb start-server)
  3. Next time you use adb to access the device, a popup will appear on device asking to allow to connect to adb server
like image 189
Art Avatar answered Sep 22 '22 00:09

Art