developer tip

USB 케이블로 연결된 경우 Eclipse에서 장치가 감지되지 않음

copycodes 2020. 12. 4. 19:16
반응형

USB 케이블로 연결된 경우 Eclipse에서 장치가 감지되지 않음


기기에서 Android 프로젝트를 실행하고 싶습니다.

USB 케이블로 연결하면 Eclipse에서 내 장치가 감지되지 않습니다.

Eclipse를 다시 시작하고 장치에서 USB 디버깅이 켜져 있는지 확인했습니다.

아무도 문제가 무엇이며 어떻게 해결하는지 말해 줄 수 있습니까?


시작하기 전에 휴대폰 설정에서 USB 디버깅이 활성화 되어 있는지 확인하십시오 !!!

1) 기본 단계-USB를 통해 기기를 연결 한 다음 Android 개발자 블로그의 기기 페이지 로 이동합니다 . USB 공급 업체 ID 추가에 필요한 정보를 찾을 수 있습니다. 장치 특정 ID를 추가하고 필요한 경우 Eclipse를 다시 시작하십시오.

2) 'adb devices'이전에 연결된 장치 (명령어 사용 :)를 볼 수 있었지만 더 이상 표시되지 않으면 ADB를 다시 시작하십시오. (당신은 명령을 사용할 수 있습니다 'adb kill-server'다음에 'adb start-server'. 당신이 그것을 수출 havent 한 경우 ADB 명령은, 플랫폼 툴에서 안드로이드 SDK 폴더에 실행해야합니다).

3) 둘 다 작동하지 않고 Windows 시스템에 있으면 설치된 USB 드라이버가 올바른지 확인하십시오. 적절한 드라이버를 설치하지 않은 경우 http://developer.android.com/tools/extras/oem-usb.html 에서 드라이버를 설치 / 업데이트하는 방법에 대한 자세한 정보를 찾으십시오.

이것도 작동하지 않으면 Universal ADB Windows 드라이버 https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH를 설치해보십시오.

4) 시간 초과 시간을 늘려 볼 수도 있습니다. Eclipse에서 기본 설정-> android-> DDMS로 이동 한 다음 'ADB 연결 시간 초과 (ms)'값을 늘려보십시오.

최신 답변을 기반으로 업데이트 :

5) 실행> 구성 실행> 대상. "항상 장치를 선택하라는 메시지 표시"옵션이 활성화되어 있는지 확인하십시오.

특별한 경우 : Windows 8 및 Nexus 10 (이 질문에서 : ADB No Devices Found )

Windows 8은 내 Nexus 10 장치를 인식하지 못합니다. 장치의 설정 대화 상자를 통해 전송 모드를 카메라 (PTP)로 설정하여 해결되었습니다.

설정> 저장소> 메뉴> "카메라 (PTP)"에 USB 컴퓨터 연결


PC 휴대용 장치 드라이버를 업데이트하여이 문제를 해결합니다.

이동 : Settings-> Applications-> DevelopmentUSB 디버깅을 활성화합니다.

  1. 장치 USB 연결
  2. 데스크탑 "내 컴퓨터"오른쪽 클릭-> "관리자"
  3. "장치 관리자"를 선택하십시오.
  4. 휴대용 장치
  5. 장치를 마우스 오른쪽 버튼으로 클릭-> "드라이버 소프트웨어 업데이트"-> 자동 검색 (약 3-5 분 대기,)
  6. 끝난

adb 서버, Eclipse 및 장치를 다시 시작하면 트릭이 발생했습니다.

C:\Android\android-sdk\platform-tools>adb kill-server

C:\Android\android-sdk\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

이 질문에서 언급 한 것과 동일한 문제가있었습니다.


비슷한 문제가 있었고 드라이버는 정상 이었지만 Eclipse는 실행> 구성 실행> 대상 탭에 장치를 표시했습니다. 하지만 "항상 장치를 선택하라는 메시지 표시"옵션을 선택했습니다. 그리고 Eclipse에서 응용 프로그램을 실행하면 프롬프트 창에 마침내 내 장치가 표시되었습니다.


길고 실망스러운 검색 끝에 마침내 Micromax Funbook p362를 eclipse와 연결하여 개발에 적합하게 만들었습니다.

* Moborobo 설치 (모든 Android 스마트 폰 관리 도구) * ADB를 사용하여 stop -server / start -server를 수행합니다. * 장치를 재부팅하십시오. * 일식을 다시 시작하십시오. * 장치가 감지되었습니다. (Eclipse-adb 장치 목록)


@asfsafgsf (위)에서 제공하는 단계 외에도 전화기의 개발자 모드 / 기능 을 다시 활성화 해야합니다. 내 Motorola Atrix의 경우 :

  • settings>applications>Unknown Sources: 타사 앱 허용
  • settings>applications>Development: USB 디버깅을 활성화하고, 위치를 모의하고, 전화 절전을 비활성화합니다.

개발자 모드에 대한 참고 사항

USB 디버깅은 휴대폰이 USB를 통해 연결되었을 때 Eclipse를 통해 앱을 실행하는 데 필요한 기본 모드입니다 (분명히). 전화 수면 비활성화는 설명이 필요없는 경우에도 유용합니다.

타사 앱 소스를 허용하면 대규모로 앱을 베타 테스트 할 수 있습니다. 이를 통해 자체 APK를 호스팅하고 베타 테스터에게 다운로드하도록 지시 할 수 있습니다 (Google Play 스토어에 출시하기 전에). 보다 구체적으로, 타사 지원을 통해 Google 승인 서명이 포함되지 않은 Android 패키지 파일을 설치할 수 있습니다 (Play 스토어 호스팅에 필요). 타사 앱이 활성화되면 핸드셋은 소스에 관계없이 패키지를 실행할 수 있습니다. 블루투스를 통해 APK를 받아이 모드로 설치할 수도 있습니다.


다음 명령을 실행하여 현재 연결된 모든 장치를 나열 할 수도 있습니다.

adb devices

http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver로 이동 하여 android 웹 사이트의 단계를 따르되 USB 폴더를 검색 할 때 지정된 디렉토리를 사용하지 마십시오-> ((sdk ) \ extras \ google \ usb_driver). (sdk)는 sdk 위치를 의미합니다.

휴대폰에 올바른 드라이버가 있어야하며 연결하면 내 컴퓨터의 CD 드라이버 (제 경우에는 G : \ drivers \ adb_driver)로 이동하여 액세스 할 수 있습니다. 대신이 디렉토리를 사용하면 작동합니다. (기기에 따라 다를 수 있습니다.)


한 가지 가능한 이유는 Android SDK Manager를 확인하고 설치하지 않은 경우 Extras 폴더에 Google USB 드라이버를 설치하는 것입니다.

http://developer.android.com/sdk/oem-usb.html#InstallingDriver 의 단계를 따르면 Eclipse에서 장치를 표시 할 수 있습니다.


Eclipse에서 장치를 감지하려면 다음 단계를 수행하십시오.

모바일 측 : -Connect USB 동기화의 경우 Android 장치에 USB 디버깅이 활성화되어 있어야합니다.

Android USB 디버깅 모드 를 활성화하려면 다음 단계를 수행하십시오.

Android 2.x-3.x 기기 :

설정> 애플리케이션> 개발> USB 디버깅으로 이동합니다.

Android 4.x 기기 :

설정> 개발자 옵션> USB 디버깅으로 이동합니다.

Android 4.2.2 이상을 실행하는 기기의 경우 메뉴 내에서 사용 가능하기 전에 개발자 옵션을 잠금 해제해야 할 수 있습니다.

  1. Android 홈 화면으로 이동합니다.
  2. 알림 표시 줄을 아래로 당깁니다.
  3. "설정"을 누릅니다.
  4. "장치 정보"를 누릅니다.
  5. "빌드 번호"버튼을 약 7 번 누릅니다.
  6. 이제 개발자 모드가 잠금 해제되어 설정> 더보기> 개발자 옵션 또는 설정> 개발자 옵션에서 사용할 수 있습니다.

PC 측

  1. USB 케이블로 장치를 PC에 연결합니다.
  2. Google USB 드라이버 다운로드
  3. 컴퓨터에서 "latest_usb_driver_windows.zip"파일을 추출 / 압축 해제합니다 ( 가급적이면 7-zip 무료 소프트웨어 사용 ).
  4. PC에서 장치 관리자 열기
    • Windows 7 및 8 사용자 → 시작 (또는 시작 화면)에서 장치 관리자를 검색하고 클릭하여 엽니 다.
    • Windows XP 사용자Google it
  5. 장치 관리자에서 컴퓨터에 연결된 모든 장치 목록을 볼 수 있습니다. 장치를 찾은 다음 ( ADB 장치 이름 옆에 노란색 느낌표 가있는 기타 장치 목록 에있을 가능성이 높음) 장치 를 마우스 오른쪽 버튼으로 클릭하고 드라이버 소프트웨어 업데이트를 선택하십시오 .
  6. 다음 창에서 "컴퓨터에서 드라이버 소프트웨어 찾아보기"를 선택하십시오.
  7. 이제“찾아보기…”버튼을 클릭하고“latest_usb_driver_windows.zip”파일에서 3 단계에서 추출한“usb_driver”폴더를 선택합니다.
  8. zip 파일을 선택하지 말고 zip 파일의 내용이 추출 된 폴더를 선택하십시오. 그리고 하위 폴더 포함 확인란을 선택하십시오.
  9. 설치하는 동안 (보안 검사로) Windows에서 드라이버 설치 권한을 요청할 수 있습니다. "설치"를 클릭합니다.
  10. 설치가 완료되면 장치 관리자 화면에 새로 고침 된 장치 목록이 표시되어 휴대폰의 드라이버가 성공적으로 설치되었음을 보여줍니다.

이제 Eclipse에서 다음 단계를 수행하여 장치에 앱을 설치하십시오.

  1. 실행> 구성 실행> 대상 탭으로 이동하십시오.
  2. "항상 장치를 선택하라는 메시지 표시"옵션을 선택합니다. 그런 다음 Eclipse에서 응용 프로그램을 실행하면 프롬프트 창에 마침내 장치가 표시됩니다.

Window> Open Perspective의 Eclipse 장치 탭에 장치가 표시되는지 확인하십시오. 표시되지 않으면 장치 드라이버를 설치해야합니다. 장치 탭에 장치가 표시되면 수동 대상에 대한 시작 설정을 변경합니다. 앱을 실행하면 실제 장치 또는 가상 장치 중에서 선택할 수 있습니다.


다음과 같은 문제가있는 경우

enter image description here

Then you can so following to fix it

enter image description here

Note : You should enable USB debugging on your android device(It will be in developer option in System settings)


I had this problem. With my galaxy S2. So came here for advice, but couldn't find anything specific. Then I found this 'Kies' software on the Samsung site, under the section for my exact model of phone, under downloads, after clicking software. It installed the right USB drivers as part of the process of installing Kies and so my phone instantly then became visible on eclipse.

The Kies version for Galaxy S2 (GT I1900) = http://www.samsung.com/uk/support/model/GT-I9100LKAXEU-downloads#

There are other versions of Kies for other android models of course.


(new) device not showing, Check List:

  • Developer Option ON
  • USB debugging ON
  • Try changing to USB Storage/MTP/PTP if it installs Window driver and fails, there's your problem (verify in Windows Device Manager) fix it.

ok this is an old thread -
but I spent nearly two days and did not get anywhere
Here is what solved my problem
I had USB debugging enabled ( finding developer options itself was a pain - I think the 7 times tap from google is childish and just plain stupid - rant over )

However HTC syn manager , eclipse ADT and windows computer management were all unable to identify my device

My problem was my phone was set to ONLY USB Charge - this was the problem In 'USB Computer connection' >> Choose the option USB Storage Once you do this - PC will install drivers and your device will get detected by Eclipse as well as in 'Computer Management' under ''Android USB devices '

Now I still dont know a way to access ''USB Computer connection' but at that time I did get the option to change and t worked

For those ( like me earlier ) who dont know how to identify if 'Computer Management' shows their device look for 'Android USB devices ' If its present - then your device is being detected by your PC

Hope this helps some others
shankar


On a kitkat Google Nexus 7, I tired everything here, and did not succeed. The device did previously connect properly to this computer.

Then I hit settings - developer-options - Revoke USB debugging authorisations and confirmed that I really did want to revoke them.

I unplugged and plugged the USB. The tablet beeped and asked if wanted to authorise the computer for debugging. I said "Yes" and everything worked again.


For me the problem is with Defective USB Cable. I have tried those above all answers. Nothing gives me any fix. But finally i came to know the problem is because of my usb cable while changing the usb cable. While connecting through the usb cable the phone is charging but the drivers are not installed. Some usb cable don't have the option for that. So while buying check it and buy.


Best approach is install PDA net(software) on both system as well as in android device. This software automatically installs global driver for all phones, provides easy connectivity to android device.

Follow these links to download

For system

For android device


Here is my checklist in windows (not the device itself) when my device is not shown:

  1. Make sure "USB debugging is turned in setting>Developer options.
  2. Check status bar on your device. It tells you if your phone is connected as Media Device (MTP) or Send images (PTP). My device is only listed when PTP is selected.
  3. Turn of windows firewall.
  4. Turn of any proxy programs ran on whole windows ports.
  5. And finally stop adb.exe from windows task manager and wait some seconds to restart automatically.

참고URL : https://stackoverflow.com/questions/8063147/device-not-detected-in-eclipse-when-connected-with-usb-cable

반응형