How to add your device in to eclipse in ubuntu linux

If you are an android developer in the linux platform, you will encounter this problem when your first physical android device connected to your computer. It will not detect automatically by the Eclipse enviornment. You need to make it detectable using the following method.

adb devices
If you got a lot of question marks
List of devices attached
?????????????? device
Check what is the vendor ID of your device:
lsusb
> Bus 003 Device 006: ID 04e8:689e Samsung Electronics Co., Ltd
Vendor ID is ’04e8′ in this case.

 

you need to add to usb list your device
sudo vim /etc/udev/rules.d/51-android.rules
and put this line (use your own vendor ID)
SUBSYSTEM==”usb”, SYSFS{idVendor}==”04e8″, MODE=”0666″
save it, and then
sudo chmod a+r /etc/udev/rules.d/51-android.rules
sudo service udev reload

and it should work now.

One thought on “How to add your device in to eclipse in ubuntu linux

  1. Pingback: USBVIEW: Alternate to lsusb in Windows - Emergiant Tech Innovations Pvt. Ltd. | Emergiant Tech Innovations Pvt. Ltd.

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