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 had similar problem with my "Xiaomi Redmi Note 4" and tried almost 10 solutions I found over internet, but none of them helped my case. I've posted this answer to help someones like myself.
Installing "Intel USB Driver for Android Devices" totally solved my problem. It's described completely here.
After trying all the solutions and still not finding a solution, I deduced the problem to the USB cable(s).
Since it was working sometimes for me (ie at work) and not other times (ie at home), I decided to try out different cables and different Android phones I had. And sure enough, some of the cables did not work (adb can't see phone) with any of the phones, but they still charged the phone and Android recognized that it was plugged in.
The good cables obviously charged the phones and were immediately recognized by adb. It was a pretty clear difference.
I couldn't tell the cables apart physically from outside, but all were free USB cables I've gathered over the years.
Looks like the installed driver was in bad state. Here is what I did to make it work:
Device Manager will find the driver and warn you about installing it. Select "Yes." This time the device got installed properly.
Note that I didn't have to modify winusb.inf file or update any other driver.
Hope this helps.
I tried all the options in the answers above
None worked . For my samsung J7 mobile downloaded the USB driver
post installation , device started showing in adb devices.
In your windows configuration, go to device management. Check if you see your device and if the drivers are installed. You probably do not have the correct drivers installed for your device.
just try
adb kill-server
then