Android device does not show up in adb list [closed]
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?
Solution 1:
Make sure your device is not connected as a media device.
Solution 2:
I had a similar issue and solved with the following steps after connecting the device via USB:
- turn on developer options on the android device.
- enable check box for stay awake.
- enable check box for USB debugging.
- open cmd
- got to platform tools adt tools here https://developer.android.com/studio.
- adb kill-server
- adb start-server
- adb devices
Now we can see attached devices.