开发者

Unable to run App on my HTC wildfire

开发者 https://www.devze.com 2023-02-20 06:51 出处:网络
Hey 开发者_运维知识库I have been having trouble trying to get a little app I was doing to run on my HTC wildfire. I have upgraded to 2.2 awhile back and I have enabled USB debugging on the phone

Hey 开发者_运维知识库I have been having trouble trying to get a little app I was doing to run on my HTC wildfire. I have upgraded to 2.2 awhile back and I have enabled USB debugging on the phone and enabled debugging to true in the manifest, but my device still doesn't show up in the list when I go to run the app. Anyone out there run into this problem?


If you're developing using Eclipse 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.

  1. 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"

  1. Now execute: chmod a+r /etc/udev/rules.d/51-android.rules

Please check this link for details: http://developer.android.com/guide/developing/device.html#VendorIds

0

精彩评论

暂无评论...
验证码 换一张
取 消