Saturday, March 23, 2013

Crunchbang 10: Debug Android App on HTC ONE X

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

Enter the following line to 51-android.rules file.
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"

Note 0bb4 is a Vendor ID for HTC. Now give a read permission to others.
sudo chmod a+r /etc/udev/rules.d/51-android.rules

After that connect HTC ONE X to the computer via USB cable. Then, enable application Debug Mode on. In IntelliJ IDEA 12, do debug Android Application source: http://developer.android.com/tools/device.html

No comments:

Post a Comment