Device not detected in Eclipse when connected to a USB cable

I want to run an Android project on a device.

My device is not detected in Eclipse when I connect it using a USB cable.

I restarted Eclipse and I checked that USB debugging is enabled on the device.

Can someone tell me what the problem is and how to solve it?

+60
android eclipse
Nov 09 '11 at 9:50 a.m.
source share
19 answers

Before starting, make sure that USB DEBUGGING ENABLED in the settings of your phone !!!

1) BASIC STEP - connect the device via USB, then go to the page on the Android developers blog . There you will find the necessary information on adding USB vendor identifiers. Add your device identifiers and restart eclipse if necessary.

2) If you were able to see the connected device (using the command: 'adb devices' ) earlier, but no more than that, just try restarting ADB. (you can use the commands: 'adb kill-server' , and then 'adb start-server' . adb commands should be executed from the platform tools folder in the Android SDK if you did not export it).

3) If none of them work, and you are on a Windows machine, check that the installed USB drivers are correct. If you do not install the correct drivers For more information on installing and updating drivers, see http://developer.android.com/tools/extras/oem-usb.html

If this also does not work, try installing the Windows Universal ADB driver https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH

4) You can also try to increase the timeout Go to settings → android-> DDMS in eclipse, and then try to increase the value "Timeout for connecting to ADB (ms)"

Update based on newer answers:

5) Run> Run Configurations> Target. Make sure that the option "Always request a device" is enabled.

Special case: Windows 8 and Nexus 10 (from this question: ADB No devices found )

Windows 8 does not recognize my Nexus 10 device. Fixed by installing (PTP) through the settings dialog on the device.

Settings> Storage> Menu> Connect a USB computer to "Camera (PTP)"

+57
Nov 09 2018-11-11T00:
source share

I solve this problem by updating the drivers for portable PC devices:

Go to: SettingsApplicationsDevelopment to enable USB debugging

  • Connect USB device
  • Desktop "My Computer" with the right mouse button → "Manager"
  • Select "Device Manager"
  • Portable device
  • right click on your device → "Update driver software" → Search automatically (wait about 3-5 minutes)
  • Done
+15
Oct 10
source share

Restarting the adb server, Eclipse, and devices did the trick for me.

 C:\Android\android-sdk\platform-tools>adb kill-server C:\Android\android-sdk\platform-tools>adb start-server * daemon not running. starting it now on port 5037 * * daemon started successfully * 

I had the same problem as in this question.

+13
Apr 04 '12 at 19:20
source share

I had a similar problem, the drivers were okey, but Eclipse showed me the device in the menu "Run> Run Configuration> Target Tab". But I checked the option "Always suggest choosing a device." And then starting the application from Eclipse, the help window finally showed my device.

+12
Nov 23 '12 at 13:27
source share

After a long and frustrating search, finally I made my Micromax Funbook p362 to communicate with eclipse and made it suitable for development.

* Installed Moborobo (all in one Android smartphone control tool). * Run stop-server / start-server using ADB. * Reboot the device. * Restart the eclipse. * Device detected. (Eclipse - adb device list)

+7
Jun 27 '13 at 6:39 on
source share

In addition to the steps provided by @asfsafgsf (see above), be sure to activate the phone’s developer modes / features. For my Motorola Atrix:

  • settings>applications>Unknown Sources : allow third-party applications
  • settings>applications>Development : enable USB debugging, false locations and disable phone sleep

Developer Modes Note

USB debugging is the main mode that you will need to run applications through eclipse when your phone is connected via usb (obviously). Turning off the phone’s sleep is also convenient for explaining the reasons.

Enabling third-party application sources allows you to beta test the application on a larger scale. At the same time, you can place your own apk and instruct your beta testers to download it (before it is released on the Google Play storefront). More specifically, third-party support allows you to install android package files that do not contain a signature approved by Google (required for hosting in the game store). When you enable third-party applications, the phone will be able to run packages regardless of their source. You should also be able to receive the APK via Bluetooth and install it in this mode.

+3
Sep 26 '12 at 20:15
source share

You can also list all currently connected devices by running the following command:

 adb devices 
+2
Jul 26 '12 at 8:28
source share

Go to http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver and follow the steps on the Android website, but when viewing in the USB folder, do not use the specified directory → ((sdk) \ extras \ google \ usb_driver). (sdk) just means your sdk location.

Your phone must have the correct driver, and you can access it when you plug it in and go to the CD driver in "My Computer", in my case it is G: \ drivers \ adb_driver. Use this directory and it should work. (Perhaps the devices are different).

+2
Sep 28
source share

One of the possible reasons is to check the Android SDK Manager and install the Google USB Driver in the "Advanced" folder if you have not installed it.

Following the steps here: http://developer.android.com/sdk/oem-usb.html#InstallingDriver allowed Eclipse to display the device.

+2
Mar 14 '14 at 6:52
source share

Follow these steps to discover your device in eclipse: -

On the mobile side: - . To synchronize the USB connection on your Android device, you need to enable USB debugging.

To enable Android USB debugging mode , follow these steps: -

Android 2.x - 3.x devices:

Go to Settings> Application> Development> USB Debugging.

Android 4.x devices:

Go to Settings> Developer Options> USB Debugging.

For devices running Android 4.2.2 or later, you may need to unblock developer options before it is available in the menu:

  • Go to the Android home screen.
  • Remove the notification bar.
  • Click "Settings"
  • Click "About device"
  • Click on the Create Number button about 7 times.
  • Developer mode should now be unlocked and available in Settings> More> Developer Settings or in Settings> Developer Settings

PC side

  • Connect your device to a PC using a USB cable.
  • Download Google USB Driver
  • Extract / unzip the file "latest_usb_driver_windows.zip" on your computer (using 7-zip-free software , preferably)
  • Open the device manager on your PC
    • Windows 7 and 8 users → search for Device Manager from the Start screen (or Start) and click to open.
    • Windows XP usersGoogle it
  • You will see a list of all devices connected to your computer in Device Manager. Just find your device (most likely it is in the Other devices list with a yellow exclamation mark . ADB device name), then right-click on it and select Update Driver Software .
  • Select "View my computer for driver software" in the next window
  • Now click the "Browse ..." button and select the "usb_driver" folder that we extracted in step 3 of the "latest_usb_driver_windows.zip" file.
  • DO NOT select a zip file; select the folder in which the contents of the zip file are extracted. And keep Include the subfolders checkbox
  • During installation (as a security check) Windows may ask for permission to install drivers, click "Install"
  • After the installation is complete, you will see an updated list of devices on the Device Manager screen showing the driver of your phone has been successfully installed.

Now in eclipse follow these steps to install the application on your device: -

  • Go to the Run> Run Configurations> Goal tab.
  • Check the box next to "Always prompt for device." And then run the application from Eclipse, the help window finally showed your device.
+2
Nov 06 '14 at 7:12
source share

Check if your device is displayed on the Eclipse device tab in the window> Open Perspective. If it is not shown, you need to install drivers for the device. Once the device is visible on the Devices tab, change the launch options for the manual target. After starting the application, it will allow you to choose a real device or virtual devices.

+1
Nov 09 '11 at 9:56 on
source share

If you have the following problem

enter image description here

Then you can do it to fix it.

enter image description here

Note. You must enable USB debugging on your Android device (this will be a developer option in the system settings)

+1
Nov 11 '13 at 10:20
source share

I had this problem. With my galaxy S2. So I came here for advice, but could not find anything concrete. Then I found this Kies software on the Samsung website, in the section for my exact phone model, under download, after clicking on the software. He installed the correct USB drivers as part of the Kies installation process, and so my phone instantly became visible on an eclipse.

Kies version for Galaxy S2 (GT I1900) = http://www.samsung.com/uk/support/model/GT-I9100LKAXEU-downloads#

There are other versions of Kies for other Android models.

0
May 19 '13 at 2:44
source share

(new) device is not displayed, checklist:

  • Developer Option ON
  • USB debugging enabled
  • Try switching to the USB drive / MTP / PTP if it installs the window driver and fails, its problem (check in the Windows device manager) fix it.
0
Oct 21 '14 at 4:05
source share

ok this is an old thread -
but I spent almost two days and I’m not going anywhere. That's what solved my problem
I had USB debugging turned on (searching for the developer options themselves was painful - I think the 7x answer from google is childish and just plain dumb - rant over)

However, HTC sync manager, eclipse ADT, and Windows computer management could not identify my device

My problem was that my phone was installed on ONLY USB Charge - it was a problem In the "USB connection to a computer" section → Select the USB Storage option. Once you do this, the PC will install the drivers and your device will be detected by Eclipse, as well as in the "Computer Management" section under "Android Android devices"

Now I still don’t know how to access the “USB connection to the computer”, but at that time I got the opportunity to change and t worked

For those who are earlier (as before) who don’t know how to determine if “Computer Control” shows that their device is looking for “Android Android devices,” if it’s present, then your device is detected by your PC.

Hope this helps some other Shankar

0
Oct 23 '14 at 1:31 on
source share

On kitkat Google Nexus 7, I'm all tired here, and it didn’t work out. The device really connected correctly to this computer.

Then I click the settings - developer options - cancels the authorization of USB debugging and confirmed that I really wanted to cancel them.

I disconnected and connected the USB. The tablet beeped and asked if you want to authorize the computer for debugging. I said yes and it worked again.

0
Oct 24 '14 at 1:31 on
source share

For me, the problem is a damaged USB cable . I have tried these answers above all. Nothing gives me any problems. But finally, I found out that the problem is with my usb cable when changing the USB cable. When connected via a USB cable, the phone charges, but the drivers are not installed. Some USB cables do not have the ability to do this. Therefore, when buying, check and buy.

0
May 29 '15 at 11:41
source share

The best approach is to install PDA net (software) on both the system and the Android device. This software automatically installs a global driver for all phones, provides the convenience of connecting to an Android device.

Follow these download links

For the system

For Android device

0
Jun 25 '15 at 5:54 on
source share

Here is my checklist in windows (not the device itself) when my device is not displayed:

  • Make sure "USB debugging is enabled in Settings> Developer Options."
  • Check the status bar on your device. It tells you if your phone is connected as a multimedia device (MTP) or send images (PTP). My device is displayed only when PTP is selected.
  • Turn Windows Firewall.
  • Rotation of any proxy programs is performed on all Windows ports.
  • Finally, stop adb.exe from the Windows task manager and wait a few seconds to restart automatically.
0
Jun 20 '17 at 8:57
source share



All Articles