Jerry Yuan
Jerry Yuan

Reputation: 765

This adb server's $ADB_VENDOR_KEYS is not set

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,

Upvotes: 24

Views: 72513

Answers (2)

Art
Art

Reputation: 771

  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

Upvotes: 32

Keentoy
Keentoy

Reputation: 15

All you need to do is install Samsung USB Drivers for Windows.

Here's the link : http://developer.samsung.com/galaxy/others/android-usb-driver-for-windows

Upvotes: -9

Related Questions