android studio真相调试

**@**:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 045e:0782 Microsoft Corp.
Bus 002 Device 004: ID 5986:a006 Acer, Inc
Bus 002 Device 005: ID 0bb4:0c86 High Tech Computer Corp.


sudo vim /etc/udev/rules.d/50-android.rules:
SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",MODE="0666"

sudo chmod 777 /etc/udev/rules.d/50-android.rules
sudo service udev restart

cd /opt/android-sdk/platform-tools/
sudo ./adb kill-server
./adb devices

android studio run config enable usb device

posted @ 2013-08-30 13:52  WenEric  阅读(269)  评论(0编辑  收藏  举报