标签:android blog ar java sp div on art log
1、打开终端,输入:system_profiler SPUSBDataType,查看Mac系统所有USB设备信息,找到相应的厂商Vender ID。
----------------- Spreadtrum phone: Product ID: 0x5d04 Vendor ID: 0x1782 ... Serial Number: T619 ... -----------------
2 、vim ~/.android/adb_usb.ini,在终端加上Vender ID即可,如下所示。
Last login: Wed Nov 5 14:48:35 on ttys000 guoxiaoyuedeMacBook-Pro:~ guoxiaoyue$ vim ~/.android/adb_usb.ini # ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT. # USE ‘android update adb‘ TO GENERATE. # 1 USB VENDOR ID PER LINE. 0x2a45 0x18d1 ~ ~ ~ "~/.android/adb_usb.ini" 5L, 137C
3、重启adb
adb kill-server adb start-server
标签:android blog ar java sp div on art log
原文地址:http://www.cnblogs.com/guoxiaoyue/p/4076365.html