ADB RSA Authorization Dialog Box Does Not Open
so I'm trying to debug my Nexus 6. I can't get the phone to open the RSA key. It works instantly on my macbook friends, with the same cable
- I've tried updating the SDK.
- Installing and reinstalling the universal ADB driver; https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH
- Checked that the USB driver for Google Apps is installed and updated
- Restarting the computer and phone several times.
- Killing and launching ADB from cmd.
- Switching between PTP and MTP modes
- And revoking USB debugging authorization on the phone ...
Does anyone have any idea? I almost pull my hair out. :(
source to share
- Connect your Android device to your computer using a USB cable.
- On your Android device go to Settings -> Developer Options.
- Find "Select USB Setting" and set it to "MTP (Media Transfer Protocol)".
- Wait for the authorization prompt. It should appear within a few seconds.
If that doesn't work, try PTP (Picture Transfer Protocol).
source to share
Short answer : go to C:\Users\<username>\.android
and remove both adbkey
andadbkey.pub
Background : Launching LMY48I on Nexus 6, I could have connected ADB, but it didn't ask for authorization on PC (Windows 10). The only way to get the auth prompt to come in is to use the Nexus Root Toolkit (wugfresh.com/nrt). It then requested authorization of the RSA key and after authorization, the device was listed as connected and authorized (both using NRT tools and from the ADB command line). Once the NRT is closed, the device will fall back to unauthorized access to every ADB command line and it no longer prompts for auth. Only remove the key according to the above enable ADB command line without NRT to connect to device.
source to share