Debug Android Nexus One with Eclipse

Using Ubuntu and Eclipse you follow the instructions here:

  • Create  the file /etc/udev/rules.d/51-android.rules
  • Change the rights chmod a+r /etc/udev/rules.d/51-android.rules
  • and add the line  SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″
  • but running adb devices gets you a bunch of ???? and ‘no permission‘ and you cant connect from Eclipse.

The proper vendor id for HTC Nexus One is 18d1

SUBSYSTEM==”usb”, SYSFS{idVendor}==”18d1″, MODE=”0666″

(No clue why they never updated the docs)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s