在Terminal 中执行命令:lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 5986:0397 Acer, Inc
Bus 001 Device 003: ID 105b:e065
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 17ef:604d Lenovo
Bus 003 Device 005: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
其中04e8:6860为三星note3
执行:cd /etc/udev/rules.d/
执行:sudo vim 50-android.rules
输入:SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="6860",MODE="0666r"
保存以上内容
执行:sudo service udev restart (重启udev服务);
切换到sdk的platform-tools服务目录;
执行./adb kill-server(停止adb服务)
执行./adb devices 查看手机列表(注意:手机可能需要重新插入usb)
List of devices attached
0ee45303 device
执行以上操作后可使用eclipse调试应用(eclipse可以需要重启)