首页 > 代码库 > ubuntu android 设备识别 Setting up a Device for Development

ubuntu android 设备识别 Setting up a Device for Development

参考:

http://developer.android.com/tools/device.html

 

lsusb

Bus 001 Device 004: ID 18d1:9025 Google Inc.

vi /etc/udev/rules.d/80-android.rules
SUBSYSTEMS=="usb",ATTRS{idVendor}=="18d1",SYMLINK+="android_adb",MODE="0666"

chmod a+r /etc/udev/rules.d/51-android.rules

sudo /etc/init.d/udev restart

adb devices
List of devices attached
0123456789ABCDEF        device

ubuntu android 设备识别 Setting up a Device for Development