Windows 7 x64의 'adb 기기'를 통해 USB를 통해 Nexus 7을 볼 수 없음
USB 드라이버는 최신 Android SDK에서 설치되었으며 태블릿에서 USB 디버깅이 켜져 있습니다.
때 넥서스 7은 윈도우에 장치가 쇼를 연결된 장치 관리자 에 올바른 드라이버가 설치되어 작동되도록, 드라이버 버전 6.0.0.0을 보여주는 속성 "안드로이드 폰"/ "안드로이드 복합 ADB 장치", 등.
또한 장치가 USB 디버깅 모드에 있음을 증명합니다. 그렇지 않은 경우 Windows에서 "Portable Devices"/ "Nexus 7"아래에 표시되기 때문입니다.
문제는 adb devices
장치 가 표시되지 않으며 Eclipse 는 (놀랍게도) 앱을 실행할 하드웨어 장치로 Nexus 7을 제공하지 않는다는 것입니다.
아무 효과없이 두 장치를 모두 재부팅했습니다.
내가 알아낼 수있는 유일한 디버깅은 enable ADB_TRACE=all
이지만 아무것도 알려주지 않습니다.
mkh@MULE ~/AppData/Local/Android/android-sdk/platform-tools
$ export ADB_TRACE=all
mkh@MULE ~/AppData/Local/Android/android-sdk/platform-tools
$ adb devices
system/core/adb/adb.c::main():Handling commandline()
system/core/adb/adb_client.c::adb_query():adb_query: host:devices
system/core/adb/adb_client.c::_adb_connect():_adb_connect: host:version
system/core/adb/sysdeps_win32.c::socket_loopback_client():socket_loopback_client: port 5037 type tcp => fd 100
system/core/adb/transport.c::writex():writex: fd=100 len=4: 30303063 000c
system/core/adb/transport.c::writex():writex: fd=100 len=12: 686f73743a76657273696f6e host:version
system/core/adb/transport.c::readx():readx: fd=100 wanted=4
system/core/adb/transport.c::readx():readx: fd=100 wanted=4 got=4
4f4b4159 OKAY
system/core/adb/adb_client.c::_adb_connect():_adb_connect: return fd 100
system/core/adb/adb_client.c::adb_connect():adb_connect: service host:devices
system/core/adb/transport.c::readx():readx: fd=100 wanted=4
system/core/adb/transport.c::readx():readx: fd=100 wanted=4 got=4
30303034 0004
system/core/adb/transport.c::readx():readx: fd=100 wanted=4
system/core/adb/transport.c::readx():readx: fd=100 wanted=4 got=4
30303164 001d
system/core/adb/sysdeps_win32.c::adb_close():adb_close: 100(lo-client:5037)
system/core/adb/adb_client.c::_adb_connect():_adb_connect: host:devices
system/core/adb/sysdeps_win32.c::socket_loopback_client():socket_loopback_client: port 5037 type tcp => fd 101
system/core/adb/transport.c::writex():writex: fd=101 len=4: 30303063 000c
system/core/adb/transport.c::writex():writex: fd=101 len=12: 686f73743a64657669636573 host:devices
system/core/adb/transport.c::readx():readx: fd=101 wanted=4
system/core/adb/transport.c::readx():readx: fd=101 wanted=4 got=4
4f4b4159 OKAY
system/core/adb/adb_client.c::_adb_connect():_adb_connect: return fd 101
system/core/adb/adb_client.c::adb_connect():adb_connect: return fd 101
system/core/adb/transport.c::readx():readx: fd=101 wanted=4
system/core/adb/transport.c::readx():readx: fd=101 wanted=4 got=4
30303030 0000
system/core/adb/transport.c::readx():readx: fd=101 wanted=0
system/core/adb/transport.c::readx():readx: fd=101 wanted=0 got=0
system/core/adb/sysdeps_win32.c::adb_close():adb_close: 101(lo-client:5037)
List of devices attached
***NOTHING SHOWN*****
내가 무엇을 잘못하고 있지?
Nexus 7이 연결되면 ' 연결 상태 / 미디어 기기 (MTP) ' 를 나타내는 지속적인 알림이 표시 됩니다. 이 상태에서는 adb devices
Nexus 또는 다른 기기가 표시되지 않습니다. 명확하지는 않지만 두 번째 옵션 "카메라 (PTP)"를 선택하면 장치를 디버깅 할 수 있습니다 (레슨은 카메라를 무시하고 프로토콜 PTP에 중점을 둡니다).
이 구성은 영구적이며 새로운 장치를 사용하면 달리 언급 할 때까지 MTP로 연결될 것으로 추측됩니다.
@Ciaran Gallagher 덕분에 Settings --> Storage --> Top Left Option (Computer USB Connection) tap--> choose MTP
자세한 단계가있는 블로그 게시물 Nexus 7 Android 개발 을 확인하십시오 .
USB 연결 / 저장 모드를 "카메라 (PTP)"로 설정하는 것 외에도 4.2 이후 숨겨져있는 개발자 모드도 활성화해야했습니다.
- 설정 메뉴로 이동하여 '전화 / 태블릿 정보'로 스크롤하십시오. 탭하십시오.
- '빌드 번호'가 표시되는 맨 아래로 다시 스크롤하십시오.
- 그것을 일곱 번 누르십시오. 세 번째 탭 후에는 개발자가 아닌 탭이 네 개 있다는 재미있는 대화 상자가 표시됩니다. 계속 탭하면 개발자 설정이 있습니다.
- 이제 설정 아래에 '개발자 옵션'이 있습니다. 탭하십시오.
- 'USB 디버깅'을 탭하여 활성화하십시오.
출처 : Android 4.2에서 개발자 설정을 활성화하는 방법
수정에 /에서 안드로이드 USB 드라이버 설치 윈도우 7/8 32 비트 / 64 비트를 :
- Android 기기를 컴퓨터의 USB 포트에 연결합니다.
- 데스크탑 또는 Windows 탐색기에서 컴퓨터를 마우스 오른쪽 단추로 클릭하고 관리를 선택 하십시오 .
- 왼쪽 창에서 장치를 선택하십시오.
- 오른쪽 창에서 Other device (기타 장치)를 찾아 확장하십시오.
- 기기 이름 ( Nexus 7 / Nexus 5 / Nexus 4 )을 마우스 오른쪽 버튼으로 클릭하고 드라이버 소프트웨어 업데이트를 선택 합니다. 하드웨어 업데이트 마법사가 시작됩니다.
- 컴퓨터에서 드라이버 소프트웨어 찾아보기를 선택 하고 다음을 클릭하십시오.
- 찾아보기를 클릭 하고 USB 드라이버 폴더를 찾으십시오. (Google USB 드라이버는에 있습니다
<sdk>\extras\google\usb_driver\
.) - 다음 을 클릭 하여 드라이버를 설치하십시오.
여전히 작동하지 않으면 MTP 에서 PTP로 변경하십시오 .
장치 관리자-> 드라이버 소프트웨어 업데이트-> 컴퓨터에서 드라이버 소프트웨어 찾아보기-> 컴퓨터의 장치 드라이버 목록에서 선택하도록하겠습니다-> Android 전화-> [ADB 드라이버 버전 6 목록 ... 죄송합니다. 정확한 이름이 기억 나지 않습니다.]
그렇게하자마자 연결되어 Windows 7 64 비트에서 버전 4.2를 사이드로드 할 수있었습니다.
I'm using Nexus 7 (4.2) on Windows 7 x64. None of the other methods described here worked for me. The tab was already in PTP mode. Finally, I could get it working when I added the below line to 'android_winusb.inf' under <android-sdk>\extras\google\usb_driver and did an 'update driver':
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E44&REV_9999&MI_01
To get the exact hardware ID (USB\VID_18D1&PID_4E44&REV_9999&MI_01 in my case), you can go to Computer Management -> Device Manager -> Details tab -> select Hardware Id from the drop-down.
I had a similar issue and tried the other suggestions.
Utilizing the PdaNet driver in the download from http://www.junefabrics.com/android/download.php is what finally did the job and allowed me to finally connect via ADB. Prior to installing the driver from here I was unable to recognize my Nexus in order to sideload the new Android 4.2 on my device.
I am running Windows 7 64 bit with my Nexus 7.
I had similar problems and I found that unchecking all of the options (both MTP and PTP) allowed the device to get the RSA Fingerprint from my computer and after that point "adb devices" worked.
Keep in mind, the RSA fingerprint is required to be accepted before an Android 4.2+ device can connect via ADB, this is obviously for security reasons.
Try this. If your device is not getting detected, use PdaNet
. You can download it from here. Download it and install on your machine. Connect your phone. It automatically detects the driver from Internet.
PDANet driver was the only solution for me to successfully connect to Google Galaxy Nexus 4.2.1 on Windows 7 x64 which was rejecting/ignoring official USB drivers from the latest 4.2 ADK (revision 7) - http://junefabrics.com/android/index.php
In my case I had two problems:
My PC got a previous "Samsung Galaxy II" driver and assigned it to my Nexus 7. I needed uninstall it many times. Finally I could bind the correct Nexus 7 driver.
The need to set the PTP option.
I also have a Nexus 7 and Windows 7 64-bit and got ADB working by stumbling around in this thread and others about a month ago. Then it stopped working. The only thing odd I remember happening before was Windows installing some Bluetooth drivers as I started up (I do not have Bluetooth devices).
I floundered for a day this time. Now it is working again! The last thing I did was to use Device Manager to "disable" the device and reboot.
I had an HTC One driver installed, and I thought that was the reason for not working. However, it turned out that the reason was I disabled both MTP/PTP.
I did not find the place for the settings, but then I found How to Configure the USB on Your Nexus 7.
It's quite confusing to me, it is in the Storage tab. Either MTP or PTP works for me.
Another option is if windows updates are turned totally off on your PC. In this case even if you download the USB driver & try update it manually as described above it will not work. The only way in this case is enabling windows updating drivers automatically. Once you enabled this, remove the non-working driver from device manager & connect you tablet to the PC via USB cable. The drivers will be automatically downloaded & installed by Windows. This way worked on my Windows 7 PC.
I'm on Win 7 64-bit and I see that most people with the same problem here also on 64-bit. To rule out the hardware and the OS, I used VMware to run Win 7 32-bit on the same PC. Except for having to edit the .inf file with the correct VID/PID everything else went perfectly on Win 7 32-bit so that tells me the PC is fine and Win 7 32-bit is fine also.
Going back to my Win 7 64-bit none of the suggestions above worked for me. However I noticed one thing though, ADB is installed under Program Files (x86) but the driver installer is installing the 64-bit. Win 7 64-bit is recognizing the Nexus 7 as Android Composite ADB Interface but ADB does not detect it.
So is there an ADB 64-bit version somewhere? if my installation is under (x86) on Win 7 64-bit, does it mean I messed up with the installation somewhere.
Would my problem be related to USB drivers 64-bit installed but ADB is 32-bit?
Another issue I noticed when the Nexus 7 USB driver gets installed in the Properties I only see Android Composite ADB Interface for device functions. Under Win 7 32-bit Properties is showing 3 device functions.
it looks like the issue is the USB driver still.
Complete checklist:
- Enable debugging onto the device
- Select USB Connection as PTP (camera)
- Install the driver from http://developer.android.com/sdk/win-usb.html
The solution that seemed to fix this for me, on top of PTP, is not selecting Always allow from this computer
when allowing USB debugging. Revoking the authorisations and manually accepting each time the device is connected fixed this for me. (Settings -> Developer options -> Revoke USB debugging authorisations
)
Kedacom usb device
기기 관리자 에서만 볼 수 있고 휴대 전화를 볼 수없는 adb를 얻을 수없는 Nexus 5x 사용자 Update driver...
는 Kedacom 기기를 사용하여 'Android ADB 인터페이스 / 기기'로 변경해야합니다.
'Programing' 카테고리의 다른 글
Ruby On Rails에서 이전 페이지로 리디렉션하는 방법은 무엇입니까? (0) | 2020.05.18 |
---|---|
Excel에서 올바르게 읽을 수 있도록 PHP에서 UTF-8 CSV를 출력하려면 어떻게해야합니까? (0) | 2020.05.18 |
UITableView를 길게 누름 (0) | 2020.05.18 |
안드로이드에서 색상 정수를 16 진수 문자열로 변환하는 방법은 무엇입니까? (0) | 2020.05.18 |
다른 조각으로 데이터를 전송하는 방법? (0) | 2020.05.18 |