读书人

关于adb命令没有权限访问手机设备的有

发布时间: 2013-10-27 15:21:50 作者: rapoo

关于adb命令没有权限访问手机设备的问题

关于adb命令没有权限访问手机设备的问题


在使用Ubuntu的朋友应该碰到过在执行adb相关命令的时候会提示如下的错误:

Configuring USB Access

Under GNU/linux systems (and specifically under Ubuntu systems),regular users can't directly access USB devices by default. Thesystem needs to be configured to allow such access.

The recommended approach is to create a file/etc/udev/rules.d/51-android.rules (as the root user) and to copythe following lines in it.<username> must be replaced by theactual username of the user who is authorized to access the phonesover USB.SUBSYSTEM=="usb", ATTR{idVendor}=="24e3", ATTR{idProduct}=="7112", MODE="0600", OWNER="liubzh"


重新插拔USB设备,adb命令将会正常被执行。


转载请著名出处。

读书人网 >其他数据库

热点推荐