Configuring ADB for Nexus 4 on Ubuntu 11.10 I'm trying to deploy and test an Android app on my Nexus 4 from my Ubuntu 11.10 computer, but ADB doesn't recognize it. I think I need the Google USB drivers, but I cannot find instructions on how to install them on Ubuntu.

How can I install the drivers on Ubuntu 11.10 so that ADB will recognize my N4?
You don't need any special drivers -- all you need is to make your device known. A few simple steps can accomplish this when your device is connected via USB:

sudo lsusb
[...]
Bus 002 Device 054: ID 18d1:4e22 Google Inc. Nexus S (debug)


See the two hex values separated by a colon: 18d1:4e22 This is the manufacturerID:deviceID you need to tell the system to handle. So as root:

sudo su -
cd /etc/udev/rules.d
vi 51-android.rules


In this file, add a line (you can use the editor of your choice, of course -- my example uses vi)

# MyDeviceName
SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="4e22", MODE="0666" GROUP="androiddev", SYMLINK+="android%n"


This example uses the values from above lsusb output -- you need to replace them by yours. Now, to let your changes take effect:

sudo service udev reload


Final step: Disconnect your device, and reconnect it. It should be recognized now.