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.android


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

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

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

android studio run config enable usb deviceorm

相關文章
相關標籤/搜索