Android device does not show up in adb list [close

2019-01-07 05:29发布

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?

标签: android adb
30条回答
Luminary・发光体
2楼-- · 2019-01-07 05:35

I have an Android LG G4 and the only thing that worked for me was to install the Software Update and Repair tool from my device. Steps:

  • Plug device into usb
  • Make sure developer options are enabled and usb debugging is checked (see elsewhere in thread or google for instructions)
  • Select usb connection type "Software installation":

enter image description here

  • An installation wizard should come up on the computer.
  • At some point during the installation you will see on your phone a prompt that asks "Trust this computer?" with an RSA token/fingerprint. After you say yes the device should be recognized by ADB and you can finish the wizard.
查看更多
Fickle 薄情
3楼-- · 2019-01-07 05:38

Turning on tethering actually allowed me to install and debug on a LG device and it was the only way it would work

查看更多
淡お忘
4楼-- · 2019-01-07 05:38

For WINDOWS users, Follow the instruction here. https://software.intel.com/en-us/xdk/docs/installing-android-debug-bridge-adb-usb-driver-on-windows

Basically, MTP/PTP all is not needed. You need to configure your device from device manager by following the instruction in screenshots of the page.

Hope it helps.

查看更多
放荡不羁爱自由
5楼-- · 2019-01-07 05:39

For what it's worth, I had problems getting the ADB driver installed from my Windows7 machine. Turned out the Virusscan "access protection" prevented (only some) drivers to be installed properly. Unplugged USB, uninstalled the samsung device from device manager, disabled VS access protection, plugged usb back in and everything was OK. Wasted an hour, hopes it saves you one.

查看更多
乱世女痞
6楼-- · 2019-01-07 05:39

for me the solution was to install de driver from sdk manager:

http://visualgdb.com/KB/usbdebug-manual/

查看更多
\"骚年 ilove
7楼-- · 2019-01-07 05:40

I also had same problem, i tried to use all the possible solution posted on this thread, but i found out i had same problem as JohnnyFun explained, but as per HenrikB solution i could not find any settings option in my Samsung Galaxy S6 phone ( Android 6.0.1)

Settings -> Storage -> menu -> USB computer connection

I finally figure - when connecting my phone throught charger in pull down menu i see options like -

enter image description here

Then click on "Connected for chargin " >>> you will see options like >>

enter image description here

Over there you can change option to "Transferring media type files"

查看更多
登录 后发表回答