Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set adb vendor keys

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

like image 884
LonelyIdiot Avatar asked Aug 21 '15 04:08

LonelyIdiot


People also ask

Where are adb keys stored?

User-installed keys are stored in /data/misc/adb/adb_keys . So is the case with Android 7.1.

How do I authorize a device on adb?

Open a command window and enter "adb devices". Watch the device's screen for any Authorization message and allow the connection.

Can I Enable USB debugging using adb?

How to Connect Android Device with ADB (Android Debug Bridge) Enable USB debugging option from 'Developer Option' in Android phone. Now, connect your Android device to the computer using USB cable. Inside folder hold Shift + Right click menu >> Select 'Open command window here' option.


1 Answers

In this case what you can do is : Go in developer options on the device Uncheck "USB Debugging" then check it again A confirmation box should then appear

like image 152
DvxWifiScan Avatar answered Sep 22 '22 04:09

DvxWifiScan