在~/.android目录下创建adb_usb.ini@import url(http://www.cnitblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
命令行下system_profiler SPUSBDataType 查看android手机的vendor ID.如:
Android:
BSD Name: en3
Product ID: 0x2323
Vendor ID: 0x04cc (Philips Semiconductors)
Version: 2.16
Serial Number: 1EC4446DA1DAE1AE204D9C688D0A2CD
Speed: Up to 480 Mb/sec
Manufacturer: ST-Ericsson
Location ID: 0x1a123000 / 5
Current Available (mA): 500
Current Required (mA): 500
把0x04cc写入刚创建的adb_usb.ini。然后adb kill-server adb start-server adb devices就可以找到设备了
posted on 2012-09-20 13:33
汪杰 阅读(557)
评论(0) 编辑 收藏 引用 所属分类:
Java