so I'm trying to debug on my Nexus 6. I can't get the phone to open the RSA key auth. It works instantly on my friends macbook, with the same cable
Anyone have any ideas? I'm almost pulling my hair out. :(
If it doesn't work, try "PTP (Picture Transfer Protocol)".
Short answer: go to C:\Users\<username>\.android
and delete both adbkey
and adbkey.pub
Background: running stock LMY48I on Nexus 6, I could connect ADB, but it did not request authorization on the PC (Windows 10). The only way to get an auth prompt to come up was using Nexus Root Toolkit (wugfresh.com/nrt). It then asked for RSA key auth, and after being authorized, the device listed as connected and authorized (both using the NRT tools and ADB command line). As soon as NRT is closed, the device goes back to unauthorized, per command line ADB, and it didn't ask for auth again. Only deleting the key as per above enabled command line ADB without NRT to connect to the device.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With