Android ADB doesn't see device

2019-01-14 16:19发布

问题:

I'm trying to run my applications on OMEGA T107 tablet. But adb doesn't see my device. I tried almost everything.

回答1:

I tried all the ways listed on the web for a whole day, but I didn't get any solutions. Then, I followed this link and in just two minutes my problem was solved!

http://tech.thecoolblogs.com/2013/02/connecting-mk808-device-to-adb-using.html

By the way, it's for Windows users!

Find out the vendor id of the device from device manager.
To do this, connect the OTG port to the USB port of your computer.
Go to Start Menu and right-click on “My Computer” and chose “Properties”.
Select the “Devices” option which will open “Device Manager”.
Select your device (mostly in USB devices or Other devices) and right-click and choose “Properties”.
Choose the “Details” tab and select “Hardware Ids” from the property dropdown, you can see the hardware id, in my case it was x2207 .
Open android_winusb.inf and add these lines:

;<Device name>   in our case I gave MK808
%SingleAdbInterface%        = USB_INSTALL, USB\VID_2207&PID_0010&MI_01
%CompositeAdbInterface%     = USB_INSTALL, USB\VID_2207&PID_0010&REV_0222&MI_01

Open C:\Users\.android\adb_usb.ini and add the following entry

0x<device id>  .. in our case it is 0x2207

Restart ADB by

adb kill-server
adb start-server

Now ADB should recognize the device.



回答2:

The normal way to fix this is indeed to restart the adb server :

adb kill-server
adb start-server

then

adb devices -l 

should list connected devices

But it possible that it doesnt fix the problem. It appends to me.

I had to disable/enable the debug mode on the device, and then restart adb server.



回答3:

Some of these answers are pretty old, so maybe it's changed in recent times, but I had similar issues and I solved it by:

  1. Loading the USB drivers for the device - Samsung S6
  2. Enable Developer tools on the phone.
  3. On the device, go to Settings - Applications - Development - Check USB Debugging
  4. Reboot O/S (Windows 7 - 64bit)
  5. Open Visual Studio

I think it was step 3 that had me stumped for a while. I'd enabled developer tools, but I didn't specifically enable the "USB Debugging" but.



回答4:

On windows, you will need to install drivers for the device for adb to recognize it. To see if the drivers are installed, check the device manager. If there is any "unrecognized device" in the device manager, the drivers are not installed. You can usually get the adb drivers from the manufacturers.



回答5:

What operating system are you on? If you running Windows you will want to make sure you have the drivers. You should also make sure that your Android SDK Manager is not only installed, but it also contains some additional things for different devices. Not sure if yours is in there or not.

Make sure that your phone has debugging enabled. I found myself having to run

adb kill-server

adb devices

often.



回答6:

For Windows 8 64 bit with a Nexus 10 device, this worked for me:

https://github.com/koush/UniversalAdbDriver

It has a link at the bottom to this:

http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi



回答7:

I had same issue, non of the solutions worked for me.

Open Settings Menu -> Developer Options -> USB Debugging should be on



回答8:

On Windows it is most probably that the device drivers are not installed properly.

First, install Google USB Driver from Android SDK Manager.

Then, go to Start, right-click on My Computer, select Properties and go to Device Manager on the left. Locate you device under Other Devices (Unknown devices, USB Devices). Right-click on it and select Properties. Navigate to Driver tab. Select Update Driver and then Browse my computer for driver software. Choose %ANDROID_SDK_HOME%\extras\google\usb_driver directory. Windows should find and install drivers there. Then run adb kill-server. Next time you do adb devices the device should be in the list.



回答9:

It worked for me in my Astro Tab A737 Download and install PdaNet+ from http://pdanet.co/a/ in your computer.

follow all steps in the wizard while installing .Once the drivers are installed Android studio should recognize the tablet.

Also, make sure the device is in PTP mode.



回答10:

Uninstalling all old "Android ADB Interface" drivers that were installed previously and then installing the new one worked for me.



回答11:

Solutions above might work for you but if none of them worked, like they didn't for my "Huawei Honor 7 (PLK-L01)" I found the link below and this one worked and it seems like a general answer!

The problem was bad drivers which was preventing the universal driver to detect the device

Just follow the steps in this link:

https://www.makeuseof.com/tag/android-wont-connect-windows-adb-fix-it-three-steps/

you might also need this one:

How to find your device in "USBDeview" (needed in instructions of the link)

when you want to delete bad drivers, if your list is messy like mine, you can find your device using Omid Heshmatinia's answer:

open “Device Manager”. Select your device (mostly in USB devices or Other devices) and right-click and choose “Properties”. Choose the “Details” tab and select “Hardware Ids” from the property dropdown, you can see the hardware id

it will be like USB\VID_2207&PID_0010&REV_0222&MI_01 (in this case hardware id is 2207)

In "USBDeview" sort the list by Instance id tab, now you can find the device using hardware id.