Trying to get access to a phone on Android emulator via adb. Error message returned:
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
C:\Program Files (x86)\Android\android-sdk\platform-tools>
I have deleted the adbkey and adbkey.pub files from the .android folder as suggested in some question/answers for physical phones without success. Also disabling and re-enabling USB debugging on the phone.
Phone details:
Device - Nexus 7 (7.02", 1200 x 1920: xhdpi)
Target - Android 8.0.0 - API Level 26
CPU/ABI- Google Play Intel Atom (x86)
Any ideas on how to get adb access? Thanks.
Google APIs
instead ofGoogle Play
, but it does not even boot due to issuetracker.google.com/issues/66114788 . – Vincas Dargis Oct 11 '17 at 8:40