androidandroid-studioosx-yosemitenexus-7nexus-5

Android Device won't connect to ADB


Compiling Android Studio 1.3 on Yosemite machine to a 2013 N7 5.1.1 with USB Debugging enabled and connection set to MTP

  1. device is detected
  2. build is successful
  3. Session 'app': running shows in event log

Nothing comes up on screen. Nothing installed to HD

(same process with same Android Studio machine compiles to N5 5.1.1)

EDIT- clearnig out ADB and installing drivers on Windows led to Mac detecting device correctly as N7 and this new set of errors on Mac:

PropertyFetcher: AdbCommandRejectedException getting properties for device 06d8bddc: 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.

EDIT- Yosemite identifying N7 as N7 and showing "ADB connection Error: EOF" in Device Manager Windows 10 no longer recognizing device and refusing to install any Google Drivers for "Unknown USB device"

EDIT- Attemptd to clear out ADB RSA Keys. Keys were regenerated on Android Studio restart. Device status is still "offline" Android adb devices unauthorized

SOLUTION- Factory reset device and accept Google permission to periodically scan developer device


Solution

  • Had to do a factory reset on my device :(

    After I enabled USB Debuginng and paired the device with my computer this new dialogue came up. This time I allowed Google to snoop on my developer device and everything worked! (I remember declining this setting months ago. I wish I had known this was A: no longer optional, B: possible to trigger somewhere in settings, C: came up as an issue in Android Studio when it was misbehaving)

    enter image description here