Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
191 views
in Technique[技术] by (71.8m points)

Asus Nexus 7 not recognized by Android dev tools via adb

Problem: Asus Nexus 7 not recognized by adb when correctly installed and connected

Setup: Asus Nexus 7 tablet Windows 7 64 bit OS

Steps taken:

  1. Installed 64 bit Java JDK (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)
  2. Installed Android SDK (http://developer.android.com/sdk/index.html)
  3. Installed Google USB driver (http://developer.android.com/tools/extras/oem-usb.html)
  4. Set tablet to USB debugging mode

In the Windows Device Manager, the Nexus is recognized as an Android Device via Android Composite ADB Interface. The device status indicates it is connected and working properly, running driver version 7.0.0.1 (8/27/12 update) from Google.

However, when I run adb devices at the command prompt (in the sdk/platform-tools directory), the Nexus does not come up as an attached device - the list is empty.

Does anyone have any insight on what the problem might be? I have tried uninstalling and reinstalling all drivers, restarting the computer each time. I have tried a variety of usb ports and cables, as well as switching between MTP and PTP connections with no success.

question from:https://stackoverflow.com/questions/14389194/asus-nexus-7-not-recognized-by-android-dev-tools-via-adb

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Hey I found a solution to this via mkh at https://groups.google.com/forum/?fromgroups=#!topic/android-developers/0-RzE0v-G3k

Try this (as quoted from the above source)

When the Nexus 7 is plugged in there is a persistent notification that indicates "CONNECT AS / Media Device (MTP)". In this state adb devices will not show the Nexus. Not exactly obvious why, but I you select the second option "Camera (PTP)" the device is available for debugging. This choice is persistent, and I'm guessing that with a band new device it will connect as MTP until told otherwise


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...