使用HTC野火的Android开发 [英] Using HTC wildfire for android development
问题描述
我想知道是否有可能使用我的HTC野火(有些环节将是不错)为Android开发,而不是模拟器。
I would like to know whether is it possible to use my HTC wildfire (some links would be nice) for android development instead of the emulator.
我试图寻找由谷歌的信息,但至今没有任何有用的结果。
I have tried to find the information by Google, but so far no useful results.
如果我得到更多的信息,我会更新在这里。
If I get more information, I'll update here.
[当我用鬼火,用eclipse,我得到这个。]
[When I used wildfire with eclipse, I got this.]
非常感谢你。
推荐答案
从你的截图,它看起来像你没有权限设置不当访问USB设备。
From your screenshot, it looks like you do not have the permissions set properly to access the USB device.
可尝试以root身份运行的亚行服务:
Either try to run the adb service as root:
$ sudo adb kill-server; sudo adb start-server
或者,更长久的解决方法是设置为USB设备权限udev规则。查看设备页面上的开发在Android 的第3步中的说明。
OR, the more permanent solution is to set up udev rules for USB device permissions. See the instructions in step 3 of the android Developing on a Device page.
以root身份登录并创建这个文件:/etc/udev/rules.d/51-android.rules。 udev的系统检查该文件的特殊情况下检测到设备时。
Log in as root and create this file: /etc/udev/rules.d/51-android.rules. The udev system checks this file for special cases when devices are detected.
编辑文件如下: SUBSYSTEM ==USB,SYSFS {idVendor} ==0BB4,MODE =0666
Edit the file to read: SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
此设置开发节点,以世界上的权限位读取和写入的特殊情况下的USB供应商ID等于0BB4。
This sets permission bits on the dev node to world read and writeable for the special case where the USB vendor ID is equal to 0bb4.
现在执行: CHMOD一个+ R /etc/udev/rules.d/51-android.rules
Now execute: chmod a+r /etc/udev/rules.d/51-android.rules
...给世界阅读权限这是需要让udev守护程序处理这个新的规则,这些规则的android
... gives world read permission to these android rules which is needed to let the udev daemon process this new rule.
这篇关于使用HTC野火的Android开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!