adb no permissions问题
来源:互联网 发布:为什么c语言的头文件 编辑:程序博客网 时间:2024/05/18 02:35
Google一番,得知可以通过用root权限启动adb server来解决问题,但是每次用adb不会很麻烦嘛?!
后来发现在SDK的帮助文档里有关于这个问题的说明:
If you’re developing on Ubuntu Linux, you need to add a rules file that contains a USB configuration for each type of device you want to use for development. Each device manufacturer uses a different vendor ID. The example rules files below show how to add an entry for a single vendor ID (the HTC vendor ID). In order to support more devices, you will need additional lines of the same format that provide a different value for the SYSFS{idVendor} property. For other IDs, see the table of USB Vendor IDs, below.
- Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
For Gusty/Hardy, edit the file to read:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"For Dapper, edit the file to read:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666" - Now execute:
chmod a+r /etc/udev/rules.d/51-android.rules
只要按照说明,在/etc/udev/rules.d/目录下创建51-android.rules文件,写入自己手机的信息就好了。
什么?你有多个不同品牌的Android手机或平板?每一个都添加自然是可以的,当然也有简便方法啦。
只要在51-android.rules中保留一行
1 SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
就好了~
修改以后重新插入你的Android设备,运行adb devices命令看看:
List of devices attached
M1105bfb6840 device
怎么样可以识别了吧~
- adb no permissions问题
- 解决 android adb devices ???????????? no permissions 问题
- 解决adb devices no permissions的问题
- 解决adb devices 中no permissions问题
- adb devices no permissions
- adb devices no permissions
- adb devices no permissions
- Ubuntu adb no permissions
- adb devices:no permissions
- Android adb no permissions
- ubuntu adb devices no permissions问题的解决方法
- 解决Ubuntu下使用adb的no permissions问题
- 解决 adb devices时no permissions的问题
- ubuntu 解决 adb devices时no permissions的问题
- 关于Ubuntu下 adb 出现no permissions问题
- adb devices no permissions 解决办法
- adb devices显示no permissions
- adb devices显示no permissions
- 【拓扑排序】 hdu1285 确定比赛名次
- uitabeview右边的label
- c语言中的 extern 和 static
- 【笔记】verilog 学习笔记(一)
- Android 日历提供器(一)
- adb no permissions问题
- Android 日历提供器(二)
- 第十六周实验报告3
- (转载)经典:从追MM谈Java的23种设计模式
- iPhone上实现Default.png动画
- 推荐个好用的开源SIP客户端STACK和一个开源SIP服务器端
- 2012.6.3显示接口枚举,结构体
- 第十六周上机任务3
- 找规律:1,1,2,3,5,8,13,21求第三十个数