Set adb vendor keys

2020-01-30 08:16发布

EDIT: I figured out the problem, i think. ADB found out I wasn't on the latest updates (at&t released a stagefright udpate and i didnt know) so ADB didn't let me debug. Everything is fine now.

I have been debugging my app on an AT&T HTC One M8 for about a month. Suddenly today when I plugged in my phone, I didn't get the authorization popup. After an hour of troubleshooting, I found the problem, but not a solution.

This is the error i get in Android Studio 1.3.1:

device unauthorized.
This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

I googled $ADB_VENDOR_KEYS but to no avail.

Information:

  • Phone: AT&T HTC One M8 running 5.0.1 (API 21)
  • Android Studio version 1.3.1 build 141.2135290
  • JDK Version: 1.8.0_60

How can I get the popup again? I need to debug my app

7条回答
爷、活的狠高调
2楼-- · 2020-01-30 09:03

Sometimes you just need to recreate new device

查看更多
登录 后发表回答