整理自Android Debug Bridge (adb) device - no permissions
The cause of that problem has to do with system permissions (thanks @ IsaacCisneros for this suggestion). Somehow HTC Wildfire (and maybe the others) need something more from the system than Samsung devices. Simple solution is to run Eclipse as a root, but this is not very comfortable with non-sudo Linux systems like Fedora.
I've found another way of achieving the same goal, which seems to be more user friendly and is lesser security hole then running entire IDE with super user privileges. Mind this is still only a workaround of the problem. System root usage should be minimalized only to administrative tasks, and “adb” was designed to work with normal user account without SUID. Despite of the fact that the proper setting of SUID is quite secure, every single permission increase is a potential system security hole.
1.Setting ownership of the adb binary (owner – root, owner group - user_group):
chown
root:user_group adb
2.Setting permissions with SUID:
chmod
4550 adb
This should result something similar to this (ls -llh):
-r-sr-x---.
1 root user_name 1.2M Jan 8 11:42 adb
After that you will be able to run adb as a root, event though you'll be using your normal user account. You can run Eclipse as a normal user and your HTC should be discovered properly.
./adb devices
List of devices attached
HT0BPPY15230 device
主要就是执行加粗部分的两条名令“chown
root:user_group adb”和“chmod
4550 adb”,将adb的执行权限提高为root。
Ubuntu13.04 64位系统adb找不到小米2手机的解决方法:http://www.linuxdiyf.com/linux/15014.html
Linux下安装Android的adb驱动-解决不能识别的问题:http://www.linuxdiyf.com/linux/14741.html
ubuntu adb配置手机:http://www.linuxdiyf.com/linux/14536.html
ubuntu adb无法识别手机:http://www.linuxdiyf.com/linux/14057.html
Linux下用adb连接手机的问题解决:http://www.linuxdiyf.com/linux/7784.html