Wednesday 15 October 2014

Installing Google Nexus 5 USB Drivers (for ADB)

Background

In one of the previous posts we had discussed the scenarios in which android device is not detected by Eclipse ADT.

This post is covers same aspect with more depth with Nexus 5 device as an example.

Check

That post will give you very basic idea on how to make your android device recognized by Eclipse ADT/ Android ADB. There are two ways to know if your device is regognized - 

  1. You try to push your android App to the device and notice there is no device listed to push the app to.
  2.  Or simply run 'adb devices' to see if ADB is recognizing your devices.

2nd point can have 3 outcomes -

1. You get no devices :

C:\Users\athakur>adb devices
List of devices attached


This is the case we will discuss today in this post.

2. You see your device but as unauthorized :

C:\Users\athakur>adb devices
List of devices attached
07f4545f00f333c8        unauthorized


In this case you should Enable USB debugging. Connect you machine to device via usb and select authorize  connection from device.
See Can't connect Nexus 4 to adb: unauthorized
After you successfully do so you should get case 3

3.You see your device with ID :

C:\Users\athakur>adb devices
List of devices attached
07f4545f00f333c8        device


In this case you are good to go.

Installing Google Nexus 5 USB Drivers (for ADB)


Though this post is specific to Nexus 5 steps are same for any OEM. You can get the driver from 

Steps :
  1. Install google USB driver from SDK manager (SDK manager is inside your ADT bundle). It should get installed under  <sdk>\extras\google\usb_driver\ .

  2. Connect your android device to your machine. Enable USB debugging. (How to enable developers option in your android device?)
  3. Right click on My computer then select Manage. Then select Device on left panel.In the other devices section you should see your device. Nexus 5 in this case.

  4. Right click on your device entery and select Update Driver Software.

  5. Select Browse my computer for driver software option and select the USB driver folder (<sdk>\extras\google\usb_driver\.)

  6. Install the driver.

To confirm your ADB will now be able to recognize your device repeat check section of this post. You should see point 3 as the outcome (if you get point 2 see the solution in the same point).













If your Eclipse detects the device but does not recognize it you may have to restart adb server -


Related Links

t> UA-39527780-1 back to top