首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

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

2013-10-27 
关于adb命令没有权限访问手机设备的问题关于adb命令没有权限访问手机设备的问题在使用Ubuntu的朋友应该碰

关于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命令将会正常被执行。


转载请著名出处。