I have a HP Slate 21 that is connected to my Windows box using a USB cable. USB debugging is enabled on the device. After adding the proper %SingleAdbInterface%
and %CompositeAdbInterface%
entries to the android_winusb.inf
file, I now see "Android ADB Interface" in my Device Manager. However, running adb devices
at the command-line does not show the device.
I have another HP slate 7 that shows up just fine under adb devices
.
The only difference I see from Device Manager is that the one that works is named "Android Composite ADB Interface" and the other one is named "Android ADB Interface."
There is yet another subtle difference. In the winusb.inf file, for Slate 7 I have two %CompositeAdbInterface%
entries defined but for Slate 21, there is just one %CompositeAdbInterface%
entry defined.
What could be wrong with my setup?
I tried everything on this thread but nothing worked. My problem: my computer was charging the device when I was connecting the cable on, so I assumed the cable was working, but not. After I swap the cable,
adb devices
worked. The cable was the issue.adb was not detecting connected nexus 5 device. Switched on the phone, enabled developer options, Enabled USB debugging mode, Now visible with adb. Also, USB configuration is still MTP. Hope this helps.
For me the solution was to use a different USB port on my laptop
In Android 8 Oreo:
Make sure your device is not connected as a media device.
So the methods mentioned above didn't work for me. What worked for me was googling Samsung Galaxy Tab USB driver and downloading and running the application that got my device recognized when I did adb devices. Since I was using a Samsung Galaxy, I used this link to download the usb driver from the OFFICIAL Samsung site. You would want to google your own respective android model usb driver
http://www.samsung.com/us/support/owners/product/SCH-I925EAAVZW
After downloading it, I ran the application to install my usb driver and then did adb devices. Make sure your Google USB driver from the Android SDK is downloaded and that your sdk is up to date as well. Also, make sure that your USB debugging mode is enable by going to Settings -> Developer Options -> then checking USB debugging. After all this, your device in the Device Manager should not have a yellow exclamation point next to it. When you run adb devices your device should show up. Hope this helps people. I literally spent hours trying to figure this out. Hopefully my answer could save you guys the hours I spent googling.