On the following page there is info that is incorrect (correct but
missing an important piece)

http://developer.android.com/guide/developing/device.html#setting-up

It mentions if using Ubuntu Linux in order to run/debug ON your
Android device (not virtual device) you must go into ubuntu and add a
file. (see below I pasted from the site)

"If you're developing on Ubuntu Linux, you need to add a rules file
that contains a USB configuration for each type of device you want to
use for development. Each device manufacturer uses a different vendor
ID. The example rules files below show how to add an entry for a
single vendor ID (the HTC vendor ID). In order to support more
devices, you will need additional lines of the same format that
provide a different value for the SYSFS{idVendor} property. For other
IDs, see the table of USB Vendor IDs, below.
Log in as root and create this file: /etc/udev/rules.d/51-
android.rules.
For Gusty/Hardy, edit the file to read:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
For Dapper, edit the file to read:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
Now execute:
chmod a+r /etc/udev/rules.d/51-android.rules

THIS IS INSUFFICIENT.  IT SAYS TO NAME THE FILE 51-ANDROID.RULES BUT
THIS IS INCORRECT IF THE OTHER DEFAULT FILES IN THE UDEV FOLDER
CONTAIN A NUMBER HIGHER THAN 50!!!!

IN MY UDEV FOLDER FOR EXAMPLE THERE WERE ALREADY TWO DEFAULT FILES
WITH NAMES THAT INCLUDED A NUMBER HIGHER THAN 50 (70)

LINUX AUTO RUNS THE PROGRAM WITH HIGHEST NUMBER FIRST.
DEVELOPER.ANDROID ASSUMES THE OTHER DEFAULT FILES IN YOUR ETC/UDEV
FOLDER ARE NUMBER 50 SO IT SUGGEST USING 51 WHEN YOU CREATE THE NEW
FILE WHEN IN FACT IT SHOULD JUST BE A NUMBER HIGHER THAN THE FILE NAME
NUMBERS THAT ARE ALREADY IN YOUR UDEV FOLDER (IN MY CASE IT HAD TO BE
HIGHER THAN 70)

AS SOON AS i DID THIS I WAS FINALLY ABLE TO GET ECLIPSE TO RECOGNIZE
MY SAMSUNG TAB (TO USE AS AN AVD) INSTEAD OF USING A SAMSUNG AVD
EMULATOR ON MY PC

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to