Home » Android » android – Nexus 5 will not show in Eclipse

android – Nexus 5 will not show in Eclipse

Posted by: admin May 14, 2020 Leave a comment


My new Nexus 5 will not show in Eclipse. I have tried every single solution on the internet for the last 3 hours. I have windows 8, not 8.1. I have a new HP Envy laptop. I am under a tight time-frame and need to get developing with this phone.

Allow usb debugging is checked. The drivers are up to date and downloaded from the Android developer site for Nexus 5. I have then gone into device manager and right-clicked -> update drivers -> browse -> gone to that usb-driver file in Android sdk, made sure include sub-directories is checked, then click finish. It installs. They are already up to date. Tried selecting choose from list. then selcting MTP USB device and installing. That’s the only one that shows up as compatible for me.

I have switched from MTP USB connection to PTP USB connection.

I have reset the adb in the DDMS.

I have found my hardwareId in Device Manager and then added the correct lines of code into the android_winusb.inf file.

I have gone into Android SDK manager, and under extras installed “Google USB driver”. Mine is rev 8. Is that okay?

After all that I have restarted my computer and the phone.

My phone has always been recognised by my computer without doing anything. It is just Eclipse that needs to recognise it.

UPDATE: Originally I was finding my Nexus 5 in the device manager under portable devices and when i updated drivers from here it had no effect. Just then it popped up under “Other” and i updated the drivers with some i found recommended online but it said at the end “Samsung drivers installed” and this is LG. Then now I see my Nexus popping up under “Android device” in the device manager. EDIT Actually it says Android composite ADB interface. My Nexus is not under “Other” anymore. It is only under portable devices. Now my phone is showing up in Eclipse. But it is status offline, and When i click to run my app, it is there, but i cannot press “OK”, and the target is unknown with a warning. Maybe the solution now is to double check i download correct drivers, ones that don’t say “Samsung”.


How to&Answers:

Try these steps and see if the device is recognized.

First check if you have Developer Options in the Settings Menu of your device.

If not – (Please know that in flagship nexus devices running 4.2 and later Android OS this option is hidden by Google on purpose)

How to Enable developer options – Go to Settings –> About Phone –> Build Number (Tap the build number 7 times) this should enable your Developer Option

Turn on USB Debugging

Connect your Nexus 5 to your computer using the USB cable.

If at this point Eclipse do not recognize it. Try to start a command prompt on Windows by pressing Ctrl + R and type cmd and enter.

Navigate to where you have installed your Android SDK folder where you have your adb.exe.

For me this is at C:\Program Files (x86)\Android\android-sdk\platform-tools\

Do a cd C:\Program Files (x86)\Android\android-sdk\platform-tools – enter

then type adb devices while your nexus 5 is attached to your computer. this should restart the adb server killing any stale session. At this point you should receive instructions on your device about RSA fingerprint etc. Just accept it and Eclipse should be able to communicate with your device.


You may need to install adb drivers after following aforementioned procedure. Download universal adb driver installer from here and execute it. It would automatically detect your phone model and will install drivers.

Happy Coding..


For windows 8 64 bit

Download USB driver from here http://developer.android.com/sdk/win-usb.html#top

Connect your Android-powered device to your computer’s USB port.
Right-click on Computer from your desktop or Windows Explorer, and select Manage.
Select Devices in the left pane.
Locate and expand Other device in the right pane.
Right-click the device name (such as Nexus S) and select Update Driver Software. This will launch the Hardware Update Wizard.
Select Browse my computer for driver software and go to the usb driver folder which downloaded from above provided link.
if you installed usb driver from sdk manager. locate the USB driver folder. (The Google USB Driver is located in \extras\google\usb_driver.)
Click Next to install the driver.

Follow the above steps this worked for me for more information visit here http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver


First, uninstall through the device manager and check the delete check box before reinstalling.

Then install from here: \sdk\extras\google\usb_driver

It will now work.

Solution comes from this site: http://www.techotopia.com/index.php/Testing_Android_Applications_on_a_Physical_Android_Device_with_ADB