ADB No Devices Found

2019-01-04 17:00发布

I am attempting to install an Android app on my brand new Nexus 10. I have a .apk file. I have downloaded the Android SDK, installed "Android SDK Tools", "Android SDK Platform-tools", and Google USB Driver. I have checked the setting on my Nexus 10 for "Unknown Sources".

When I run "adb devices" from the command terminal, it doesn't list any devices. I attempted to follow this recommendation, because it was identical to a suggestion I had previously found here on Stack Overflow. After following those steps, "adb devices" still returns an empty list and to make it worse, when I connect my Nexus 10 to my PC, Windows doesn't show any folders within the device.

I have undone the steps in that link, along with everything else I have done so far, as well as uninstalling my Nexus 10 from Device Manager and reinstalling it, but I am still not seeing any folders in the device.

Is there anything I am missing to get my device to show up in ADB devices?

What can I do to get Windows to see the folders within the device?

标签: android adb
30条回答
地球回转人心会变
2楼-- · 2019-01-04 17:29
  1. Go to device manager and check hardware id's.
  2. Check if the usb.inf file has the device listed in it
  3. If not, add the device hardware id and install it from the device manager.
查看更多
姐就是有狂的资本
3楼-- · 2019-01-04 17:30

I have found a solution (for Windows 7):

  1. Connect your Nexus 10 to PC
  2. Go to Windows Device Manager
  3. RClick on ADB Interface -> properties
  4. Details -> Hardware Ids.

You will see two records like these:

USB\VID_18D1&PID_4EE2
USB\VID_18D1&PID_4EE2&MI_01

5 Open the android_winusb.inf file (I have it in "C:\Users\<username>\AppData\Local\Android\android-sdk\extras\google\usb_driver" directory)

6 Create such records in [Google.NTx86] and [Google.NTamd64] sections using Hardware Ids from properties of ADB interface:

;Google Nexus 10
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4EE2
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4EE2&MI_01

7 Save the file, and update driver for ADB Interface with showing the path to "C:\Users\\AppData\Local\Android\android-sdk\extras\google\usb_driver" directory

查看更多
兄弟一词,经得起流年.
4楼-- · 2019-01-04 17:31

For Windows 8 users:

After trying every solution given here, with no success, I found this:

Go to Device Manager

Update Driver Software ...


Browse my computer for drivers -> Let me pick from a list of device drivers on my computer

Choose Android Device and then Android ADB Interface.

Android ADB Interface


Now I have my devices listed at adb devices.

查看更多
闹够了就滚
5楼-- · 2019-01-04 17:31

Make sure to Enable USB debugging in Settings -> Developer options

Also, run "adb devices" after getting into the platform tools folder in the Android SDK (unless you have that folder on your system path already), otherwise the command won't be found.

查看更多
Juvenile、少年°
6楼-- · 2019-01-04 17:34

I had turned all settings in developer mode, but adb was still not showing any devices.

I was not using the cable that came with my phone. Once I switched to it, everything just worked.

查看更多
我想做一个坏孩纸
7楼-- · 2019-01-04 17:34

For Windows, just end all the processes related to Blue stacks or any such emulator if you are using.

Worked for me.

查看更多
登录 后发表回答