adb를 사용하여 Android 휴대폰에 연결할 수 없음(adb 장치가 승인되지 않음)

adb를 사용하여 Android 휴대폰에 연결할 수 없음(adb 장치가 승인되지 않음)

adb를 사용하여 Nexus 5를 노트북에 연결할 수 없습니다(windows 10 B:10586).

10시간 넘게 작업한 것 같아요.

많은 Google adb 드라이버, 심지어 adb-setup-1.4.3(xda에 의한 adb 자동 설정)도 테스트했습니다.

usd debugginh를 취소하는 중입니다. 또한 작동하지 않았습니다.

adb devices
List of devices attached
0625a5ba003b7114        unauthorized

adb usb
error: device unauthorized. Please check the confirmation dialog on your device.

adb kill-server
adb usb
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: 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.

%userprofile%에서 .android도 제거했습니다.

자동 adb 설정을 사용하여 다른 노트북에서 작업 중입니다.

/data/adb가 비어 있습니다.

확인 대화 상자가 나타나지 않습니다.

다양한 USB 연결 방법(충전, mtp, ptp, midi)을 사용하여 테스트했습니다.

Nexus 5 Android:6.0.1, 루팅됨, 부트로더 잠금 해제, 빌드 번호: MMB29v, 베이스밴드 버전 M8974A-2.0.50.2.28

이미 테스트되었습니다:

http://stackoverflow.com/questions/23081263/adb-android-device-unauthorized
http://stackoverflow.com/questions/26213954/how-to-solve-adb-device-unauthorized-in-android-adb-host-device
http://android.stackexchange.com/questions/77542/adb-devices-shows-device-as-unauthorized-how-can-i-fix-this
http://forum.xda-developers.com/nexus-4/help/adb-error-device-unauthorized-device-t2401452
https://teamtreehouse.com/community/device-unauthorized
https://labs.mwrinfosecurity.com/advisories/android-4-4-2-secure-usb-debugging-bypass/
and more :(

추측 추가하기

나는 adb rsa 키 서명이 잘 정리되지 않은 것 같습니다 (전화 또는 창에서). 그렇지 않으면 전화 rsa 확인 요청이 다른 랩톱을 사용하여 작동합니다.

답변1

ANDROID_SDK_HOME오래된 Android Studio를 제거하여 잘못된 주소를 가리켰습니다 .

에서 User variables set (name:ANDROID_SDK_HOME , value:mySdk).

그리고 컴퓨터도 다시 시작해야 합니다

관련 정보