Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 224
Matt Avatar asked Jan 17 '13 22:01

Matt


People also ask

Why is ADB not showing my device?

On Android 5.0, go to Settings -> Storage -> menu -> USB computer connection and make sure 'Media device (MTP)' is disabled. When it's disabled 'adb devices' lists the device, when enabled not.


1 Answers

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

like image 54
Graham Avatar answered Sep 21 '22 02:09

Graham