代码重构方向原则指导(转载)
Adding Completion to (interactive)

Android Debug Bridge (adb) device - no permissions

tubo posted @ 2014年9月03日 00:10 in 未分类 , 771 阅读
 

I have a problem connecting HTC Wildfire A3333 in debugging mode with my Fedora Linux 17. Adb says:

./adb devices
                            List of devices attached 
                            ????????????    no permissions
                            

my udev rules (first rule for Samsung which works just fine and second for HTC which is not):

SUBSYSTEM==”usb”,SYSFS{idVendor}==”04e8″,SYMLINK+=”android_adb”,MODE=”0666″,GROUP="plugdev" 
                            SUBSYSTEM==”usb”,SYSFS{idVendor}==”0bb4″,SYMLINK+=”android_adb”,MODE=”0666″,GROUP="plugdev"
                            

For Samsung devices everything's okay:

 ./adb devices
                            List of devices attached 
                            00198a9422618e  device
                            

I have been trying all of the answers given in a simmilar thread wthout any luck: Using HTC wildfire for android development

 

ANSWER:

I just had this problem myself under Debian Wheezy. I restarted the adb daemon with sudo:

1. sudo ./adb kill-server
                            2. sudo ./adb start-server
                            3. sudo ./adb devices
                            

Everything is working :)

 
Archie Colson 说:
2019年2月17日 20:59

collection of the routine and matters is fixed for the people. The accentuation of the joys and ninja essays reviews is vital for the individuals. The chapter is denounced for the formal and all such means for the individuals.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter