An Android device that is not visible to ADB but accessible from Windows XP

I just bought a new Nexus 7 tablet, and I'm trying to put my first Java application on it. However, I was stuck at a very simple point: ADB does not see my device. When I check my workstation, Windows recognizes the tablet perfectly, I switched the USB port and each of them appears on the device, but ADB still does not see it. I rebooted and still not working. Any ideas on this?

Update

There were actually two problems. Firstly, I did not activate USB debugging mode. For this reason, I could use the tablet from the workstation (as a simple multimedia player), even if the correct USB driver was not installed.

Secondly, the driver was not detected by Windows XP (even I specified the correct repository to search for it). The problem was resolved using the procedure described by adamp

+7
source share
5 answers

As Thomas K points out, you need to install the ADB driver for the device from the SDK manager. Also confirm that USB debugging is enabled on the device, as Michael noted.

The main ADB driver that comes with the SDK is generic and can work with any Android device. Just add the appropriate lines to the android_winusb.inf file in the extras/google/usb_driver section so that Windows recognizes device hardware identifiers during driver installation. Add lines under the x86 partition for the 32-bit Windows partition or amd64 for 64-bit Windows.

For Nexus 7, you will need the following configuration:

 ;Nexus7 %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4E42 %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E42&MI_01 

Significant sections: VID_XXXX and PID_YYYY on both lines. If you have another Android device that you want to add, start by duplicating the lines above in the correct section of the file. You will need to replace the hardware identifiers with the correct identifiers for your device.

Open the device manager, find the Android device without the ADB driver installed, right-click it and select "Properties". On the Details tab, select Hardware Identifiers from the drop-down list. You will see a line that looks something like USB\VID_18D1&PID_4E42&MI_01 . Copy the VID_XXXX section and the PID_YYYY section into the two lines added to the .inf file above. Save the file, then update the driver for the device and use the driver from the directory in which you just saved the .inf.

+17
source

U need the appropriate ADB driver (btw: ADB = "Android debug bridge")

Cm:
http://developer.android.com/sdk/win-usb.html
ADB does not recognize my Galaxy Nexus - Win7

Download:
http://www.samsung.com/us/support/owners/product/SCH-I515MSAVZW

(Do not forget to enable debugging on your device under "Settings"> "Applications"> "Development"> "USB Debugging")

It is also nice to know:

Note. If you are developing Mac OS X or Linux, you do not need to install a USB driver. To start development from your device, also read Using hardware devices.

If you have already done all of the above, this may help you:
stack overflow

+3
source
  • Do you mean ADB?

  • You have enabled USB debugging on your device Settings-> Applications-> Development-> USB Debugging

  • Have you installed the correct USB driver for the adb interface? If you do not check. Problem connecting my device to a PC? for more information

+3
source

What worked for me was adding an entry to adb_usb.ini for my device. What turned out to be embedded in the equipment identifier

So - my hardware identifier was USB \ VID_ 1C9E and PID_9E18 & MI_01

and I added

0x1c9e

to the adb_usb.ini file in the c: \ users [username] .android directory

full file contents -

 # ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT. # USE 'android update adb' TO GENERATE. # 1 USB VENDOR ID PER LINE. 0x1c9e 
+2
source

Still having problems?

After enabling USB debugging on my device and setting up the Windows drivers correctly to recognize the device. I still could not get ADB to recognize my Insignia Flex 8 tablet. Here's what I had to do: Create (if it does not already exist) - c: \ documents and settings \ your-user-name.android \ adb_usb.ini Add line with a VID identifier in hexadecimal: the value of my identifier (set from ... device manager, adb-context menu for right-clicking, properties, details): USB \ VID_2207 & PID_0011 & MI_00 \ 9 & 1670302B & 0 & 0000

so the line added to adb_usb.ini was: 0x2207

save the file and restart eclipse (and / or DDMS, left inverted triangle, reset adb).

after that, my NS-14T002 device is available for debugging my application.

Update-> strange, I did not see above (same solution) when I originally wrote this (not sure how it was not visible ...)

0
source

All Articles