日期:2014-05-16  浏览次数:20411 次

解决 android adb devices ???????????? no permissions 问题

针对高通平台:


1. 确保usb链接正确:

Bus 001 Device 003: ID 05c6:9025 Qualcomm, Inc. 
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.


2. 新建或修改

/etc/udev/rules.d/70-android.rules

加入

SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", ATTR{idProduct}=="9025", MODE="0666", OWNER="“user”"

idVendor是设备号,高通对应05c6

Company USB Vendor ID
Acer 0502
ASUS 0b05
Dell 413c
Foxconn 0489