Friday, March 25, 2011

Nexus One Debugging

I was having trouble getting ADB from the Android SDK to recognize my phone under Windows 7, here's how I fixed it.

1. Start the Android SDK and AVD Manager.
2. Select "Available packages" on the left.
3. Navigate to: Third party Add-ons > Google Inc. > Google USB Driver package
4. Click "Install Selected" and proceed through the dialogs.
5. Connect your phone
6. Start the "Device Manager" management application, and locate your phone.
7. It should say it's not recognized, right click on your phone and click "Update Driver Software".
8. Click "Browse my computer for driver software"
9. Navigate to the android SDK directory ...\extras\google\usb_driver
10. Proceed through the dialogs.

For me, the driver is located in:
C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver

I then ran adb devices, and my phone was listed.

No comments: