Monday, 4 July 2011

Steps to install new android application onto new htc device

1. Unplug the device

2. $ sudo gedit /etc/udev/rules.d/99-android.rules
(Taking help from http://dimitar.me/how-to-connect-your-android-phone-to-ubuntu-to-do-developmenttestinginstallations-or-tethering/ the file name should be 51--android.rules
but 99 is the latest.

3. add these lines and save
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", ATTR{idProduct}=="618e", MODE="0666"

4. Plug the device again.

5. If still doesn't work
$ adb kill-server
$ adb start-server

and do unplug and plug the device again.

No comments:

Post a Comment