Friday, March 1, 2013

Ddebug HTC mobile in eclipse Ubuntu

Ddebug HTC mobile in eclipse Ubuntu

Below the tutorial for how to debug HTC Mobile in eclipse ubuntu .
HTC provide new device VENDER ID different and old device vender id is different.

Let's go

Step 1.
Simply go to your terminal window and type below cmd

sudo gedit /etc/udev/rules.d/99-android.rules

Then enter your system password

Step 2

Then enter following the command  for creating two  files for vender id adding files

sudo touch /etc/udev/rules.d/51-android.rules
sudo touch /etc/udev/rules.d/99-android.rules


Step 3
Then enter follwing cmd  in terminal for open created file

sudo gedit /etc/udev/rules.d/51-android.rules

Then the file will open added the following line at  the end of the file


SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"

SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"


Then save it

Then enter following cmd in terminal for another file

sudo gedit /etc/udev/rules.d/99-android.rules
 
Then file will open added the follwing line in  end of the file

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"

SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"
 Then save the file .
Then restart the eclipse . now you can able to see your htc mobile in debugging mode.


Check out this may be help you

Related Posts Plugin for WordPress, Blogger...