developer tip

adb에서 인식되지 않는 Android 기기

optionbox 2020. 12. 13. 09:12
반응형

adb에서 인식되지 않는 Android 기기


내 Android 기기가 더 이상 eclipse 또는 adb에서 인식되지 않습니다. 내 OS는 Windows 7 64 비트이고 Stock Android 4.4.2가 설치된 Nexus 4를 사용하고 있습니다.

다음은 문제에 대한 몇 가지 세부 정보입니다.

  1. 어제 내 기기에서 문제없이 Eclipse에서 Android 프로젝트를 실행할 수있었습니다. 이 문제를 일으킬 수있는 이클립스에서 내가 한 유일한 일은 개발자에 대한이 가이드를 사용하여 리소스에서 이클립스로 v7 appcompat 지원 라이브러리를 설치하는 것입니다 .android ( https://developer.android.com/tools/support- library / setup.html ).
  2. 장치가 디버그 모드가 아닌 경우 Windows에서 여전히 일반 멀티미디어 드라이브로 인식됩니다.
  3. Eclipse에서 Android 프로젝트를 실행하거나 adb devices콘솔에서 사용하는 adb에서 인식되는지 확인하려고 할 때 기기가 개발자 모드 및 디버그 모드에 있습니다.
  4. Google USB 드라이버는 ADK 관리자를 통해 설치되었습니다.
  5. Windows 용 USB OEM 드라이버는 android-developers 사이트의 자습서에 따라 이미 설치되어 있습니다 ( https://developer.android.com/tools/extras/oem-usb.html 참조 ).
  6. adb kill-server명령을 사용하여 adb를 다시 시작하려고 시도하고을 사용 adb start-server하여 장치가 인식되는지 다시 확인했습니다 adb devices. 장치가 여전히 콘솔에 나열되지 않았습니다.
  7. Windows 및 Eclipse를 다시 시작해도이 문제가 해결되지 않았습니다.

누구든지이 문제에 대한 해결책을 알고 있습니까? 미리 감사드립니다!

업데이트 : repies에 감사드립니다, 문제가 해결되었습니다 (당분간). 이 순서로 다음 제안을 시도했습니다.

  1. 장치를 다시 시작했지만 문제가 해결되지 않았습니다.
  2. 장치를 PTP 모드로 설정했는데 문제가 해결되었습니다.

그래서 내 장치를 MTP 모드 및 디버그 모드로 다시 설정하여 어떤 이유로 든 adb에서 여전히 인식되는지 확인합니다. MTP 모드에있을 때 확실히 adb에 의해 인식되지 않습니다. 장치를 PTP 모드로 설정하지 않았기 때문에 며칠 전에 어떻게 인식되었는지 모르겠습니다. 어쨌든 내 문제에 대한 해결책은 내 Nexus 4가 PTP 모드에 있어야하고 물론 디버그 모드에 있어야 adb에서 인식된다는 것입니다.

현재 드라이버로 문제가 해결되었으므로 다른 제안을 시도하지 않았습니다.


일반적으로 USB 연결이 MTP (Media Transfer)를 사용하도록 설정되어야한다고 생각하지만 내 컴퓨터가 내 장치 (Nexus 4)를 인식하지 못합니다. 이상하게도 USB 연결을 카메라에 설정하면 작동합니다.


나는 또한 같은 문제에 직면했고 수동으로 드라이버를 설치하는 것부터 winusb.inf 파일 편집에 이르기까지 가능한 거의 모든 것을 시도했습니다. 그러나 나에게는 아무것도 효과가 없었습니다.

사실 해결책은 아주 간단합니다. 항상 거기에 있지만 우리는 그것을 놓치는 경향이 있습니다.

전제 조건

여기 에서 최신 Android SDK 및 최신 드라이버를 다운로드 하십시오 . USB 디버깅을 활성화하고 장치 관리자를 열고 열어 둡니다.

단계

1) 장치를 연결하고 "Android 장치"섹션에서 감지되는지 확인합니다. 그렇다면 "다른 장치"섹션을 확인하고 수동으로 드라이버를 설치하십시오.

2) 반드시 "Android Composite ADB Interface"를 확인하십시오. 이것은 Android가 ADB가 작동하는 데 필요한 인터페이스입니다.

3) "[SDK] / platform-tools"로 이동하여 Shift 키를 누른 상태에서 클릭하고 명령 프롬프트를 열고 "adb devices"를 입력하고 장치가 고유 ID와 함께 나열되는지 확인합니다.

4) 그렇다면이 시점에서 ADB가 성공적으로 감지 된 것입니다. 다음으로 "adb reboot bootloader"를 작성하여 부트 로더를 엽니 다. 이 시점에서 "Android 장치"에서 장치 관리자를 확인하면 "Android Bootlaoder 인터페이스"가 있습니다. 실제로 우리에게는 그다지 중요하지 않습니다.

5) 다음으로 볼륨 낮추기 키를 사용하여 "복구 모드"로 이동합니다.

6) 중요-이 시점에서 "Android 장치"에서 장치 관리자를 확인하십시오. 이 섹션 또는이 섹션 아래에 아무것도 표시되지 않으면 수동으로 설치해야합니다.

7) "기타 장치"섹션을 확인하고 목록에있는 장치를 찾습니다. -> 드라이버 업데이트- "내 컴퓨터 찾아보기 ..."-> "목록에서 직접 선택 ..."을 마우스 오른쪽 버튼으로 클릭하고 "ADB 복합 인터페이스"를 선택합니다.

8) 이제 복구 내에서도 "Android 장치"아래에 나열된 장치를 볼 수 있습니다.

9)이 시점에서 "adb 장치"를 작성하면 동일한 ID로 나열된 장치를 볼 수 있습니다.

10) 이제 "adb sideload [update] .zip"을 작성하면 완료됩니다.

도움이 되었기를 바랍니다.


기본적으로 문제는 예를 들어 PTP + ADB가 작동하는 동안 MTP + ADB가 작동하지 않는 것과 관련이 있습니다. 필자의 경우 Nexus 5를 연결하면 Windows 7은 ADB를 완전히 무시하고 MTP 드라이버 만 설치합니다. 다른 곳에서는이 문제에 대한 좋은 해결책을 찾을 수 없으므로 여기에 단계 (다른 소스에서 복사 한 일부 단계)를 제공합니다.

0) Nexus 5를 분리하십시오. MTP 및 ADB를 선택했는지 확인하십시오.

1) Google SDK의 sdk \ extras \ google \ usb_driverandroid_winusb.inf에 다음 줄이 있는지 확인합니다 (해당 파일의 두 위치에).

; Google Nexus (일반)

% CompositeAdbInterface % = USB_Install, USB \ VID_18D1 & PID_4EE2 & MI_01

참고 : VID_18D1은 Google VID, PID_4EE2는 MTP + ADB의 PID, MI_01은 ADB가 인터페이스 1에 있음을 의미합니다 (MTP는 인터페이스 0에 있음).

Nexus 5를 Linux 시스템에 연결하고 lsusb를 입력하여 어떤 인터페이스에 있는지 확인할 수 있습니다.

2) 먼저 설치된 모든 Google USB 드라이버를 삭제하십시오. 좋은 도구 중 하나는 USBDeview이며 다음 위치에서 찾을 수 있습니다. http://www.nirsoft.net/utils/usb_devices_view.html 도구를 다운로드하고 실행합니다 (설치할 필요 없음). USBDeview 창의 맨 왼쪽에있는 색상 상태 표시기를 살펴보십시오. 녹색은 장치가 제대로 작동 함을 나타냅니다. 분홍색은 장치의 플러그를 뽑고 제대로 작동 함을 의미합니다 (실제로 제대로 작동하지 않을 수 있음). 빨간색은 비활성화 된 USB 장치를 나타냅니다. 회색 (아래 원)은 장치가 설치되었지만 연결되지 않았 음을 의미합니다. 둘째, 제목에 "Google", "Linux", "ADB"또는 "Android"라는 단어가 포함 된 모든 회색 항목을 제거합니다.

3) 이제 이전에 캐시 된 Google * .inf 파일을 삭제합니다. Windows 탐색기를 열고 C : \ Windows \ INF 디렉토리로 이동합니다. 어딘가에 android_usb.inf의 복사 본인 "oemN.inf"파일 (여기서 N은 시스템에 따라 달라지는 숫자)이 있습니다.해야 할 일은 어떤 파일을 찾아서 제거하는 것입니다. Windows는 여기에 INF 파일의 캐시를 보관하고 있으며 우리가 발견 한 사실은 때때로 새 버전 대신 이전 캐시 된 사본이 사용된다는 것입니다.

Windows 탐색기를 사용하여 쉽게 찾을 수있는 한 가지 방법 :-탐색기의 검색 상자에 따옴표없이 "androidwinusb86.cat"을 입력합니다. -일반적으로 검색은 파일 이름에이 패턴이 없기 때문에 비어 있습니다. -도구 / 폴더 옵션으로 이동하여 검색 탭을 클릭하고 항상 파일 이름 및 내용 검색을 클릭합니다. 적용-검색을 다시 클릭하십시오. 이번에는 "oem90.inf"와 같은 몇 가지 파일을 나열해야합니다 (하나 이상의 파일이 다른 번호로 표시됨).

이제 Windows 탐색기를 사용하여 위에서 일치하는 "oemNN. *"파일을 삭제하십시오 (androidwinusb가있는 파일 만).

4) We now want to disable installation of MTP by windows before windows discovers ADB. Now search for wpdmtp.* files in the same directory. Presence of these files will force install MTP disregarding ADB class in the same (composite) device. Move these files out of \inf folder

5) plug in the device again. This time, both MTP and Android ADB driver installation will fail.

6) Find Other devices in the Device Manager and when expanded it should show Nexus 5 and MTP. Right click and update Nexus 5 by navigating to the sdk\extras\google\usb_driver\android_winusb.inf.

Move wpdmtp.* files back to \inf folder. Right click MTP device and update.

7) If necessary, confirm on your Nexus 5 that this PC has access to the phone.

8) If everything went as expected you should see in Device Manager the following:

  • Expand Android Device. Right click Android Composite ADB Interface, select Properties, choose tab Details, under Property select Hardware Ids. You should see USB\VID_18D1&PID_4EE2&MI_01

  • Expand Portable devices. Right click Nexus 5, select Properties, choose tab Details, under Property select Hardware Ids. You should see USB\VID_18D1&PID_4EE2&MI_00


Try use PdaNet. you can download it from here

It installs missing drivers when you plugin your device.

Obviously make sure you "debug usb" option in "developers options" is on.

Another thing, it's important to uninstall any device's installed driver before using it.


I recently had this issue (but before that debug over wifi was working fine) and since none of above answers helped me let me share what I did.

  1. Go to developer options
  2. Find Select USB configurations and click it
  3. Choose MTP (Media Transfer Protocol)

Note: If it's set to this option chose another option such as PTP first then set it to MTP again.


It may sound silly but in my case the USB cable was too long (even if good quality). It worked with my tablet but not with the phone. To check this, if you run on Linux run lsusb to make sure that your device is at least officially connect to the usb port.


With USB connected, on android device Settings > Developer options > Revoke USB debug authorizations USB Debug. Remove the USB and connect again, then "Allow USB debugging".


Set your environmental variable Path to point to where the adb application is at: [directory of sdk folder]\platform-tools


Go to prompt command and type "adb devices". If it is empty, then make sure you allowed for "MTP Transfer" or similar and you enabled debugging on your phone.

To enable debugging, follow this tutorial: https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm

Then type "adb devices" again. If a device is listed in there, then it should work now.


Enabling Developer mode by tapping on Build Number 7 times worked for me.


Find drivers for your device and install them That will be the end of your device not detected problems Windows have driver problems, sometimes messed by overriding the existing driver

You can also try uninstalling driver from Win7 and reinstalling


Make sure you are connecting with a USB and not a lightning cable. I had this problem trying to connect using a cord with lightning cables on both ends and it would not list the device. But switching to a USB to lightning cable worked.


  1. Download and install Moborobo software on your computer.
  2. Connect your device with USB debugging through USB cable.
  3. Now open moborobo and it will connect to your android.
  4. Stay connected, now your device should recognize as adb devices and get listed.

참고URL : https://stackoverflow.com/questions/22450478/android-device-not-recognized-by-adb

반응형