adb doesn't show nexus 5 device

Android Studio 0.3.6
Fedora 18 3.11.7-100.fc18.x86_64
Nexus 5 Kitkat

Hello,

I have been using my Samsung Galaxy Tab 3 7.0 running Android 4.1.2 everything works fine with adb.

However, I have just bought a new Nexus 5 device, and when I do the following command adb devices it doesn't show my Nexus 5.

Under Android SDK Manager | Extras | Google USB Driver | status "Not compatiable with Linux"

Because I am running Fedora 18 if I need drivers what drivers for the USB do I need?

Because the Samsung works fine and I can deploy and run my apps, I think my setup is correct. So I am wondering if there is something wrong with my Nexus 5.

I have tried the following:

adb kill-server
adb start-server

Setting the Nexus 5 Camera PTP and media device MTP didn't work.

Many thanks for any suggestions,


Solution 1:

I had a similar problem with my Nexus 4(Android version 4.4.2), it wasn't listed in adb devices.

Make sure USB debugging is enabled from device, and do the following on your PC:

  1. Update Android SDK (Google USB Driver)

  2. From PC Control Panel, System -> Device manager -> Right click Nexus 4 -> Update driver.

  3. Set android-sdk-folder\extras\google\usb_driver as path to search, include subfolders checked.

If windows tells you that the driver is up to date, just uninstall the driver (right click on nexu4 -> uninstall driver) and start from step 2 again.

After that, open a cmd and type adb kill-server and then a adb devices, now it will include your device.

https://developer.android.com/studio/run/oem-usb.html

Solution 2:

Follow these steps,

  • Enable Developer options in your device. To enable the developer mode, Settings->About phone, tap Build number option 7 times continuously
  • Go to Settings-> Developer options and Turn on USB debugging
  • Make sure you reconnected the device via USB and grant permission on the dialog that appears.
  • From the above steps it didn't work try this step, Go to Settings->Security and turn on Unknown Sources

Solution 3:

What you need to do is this:

Settings | About Phone

Scroll to the bottom to build number. Tap on build number about 7 times. Each time you will get a popup message saying you are x steps away from being a developer

When you get to the final step you will get a message saying now you are a developer

Go back into settings and you will see a new setting Developer options there you will see a lot of options for developers. Enable USB debugging

Re-connect you phone to the usb, and you should see you device under adb devices.

I hope this answer helps someone else.

Solution 4:

This simple steps worked for me, I debug on my Nexus 5 and 5X devices on Windows 8.1.

The steps to follow are these:

1) Enable from Developers Options the Debug USB Mode

2) Unplug the device from the computer

3.1) Go to SettingsStorage, in the ActionBar, click the option menu and choose USB computer connection.

3.2) If you didn't find the 3.1) option then go to SettingsDevelopers OptionsSelect USB Configuration.

4) Select Camera (PTP) connection.

5) Plug the device and you should have a popup on the device allowing you to accept the computer's incoming connection, or something like that.

6) If it doesn't work try to toggle the Debug USB Mode in the Developers Options Finally, you should see it now in the DDMS and voilà.