不管是在Windows系統還是在Linux系統中,相信不少用戶或開發者都遇到過手機adb連接不上的情況。其實出現這種問題很多時候是由於adb沖突導致的,畢竟很多軟件都有自己的adb鏈接。那麼,出現這種問題該怎麼辦呢?下面就給大家介紹下Mac或者linux下adb連接失敗的解決辦法。
1.查看設備VenderID
在mac下 或者Linux打開終端(Terminal),linux下可以按快捷鍵(CTRL+T,忘了具體是不是大家去試試或者查查),mac下Control+space,輸入Terminal打開。打開終端後,輸入命令
mac下:
system_profiler SPUSBDataType
linux下:
lsusb
結果如下:
USB:
USB 3.0 Bus:
Host Controller Driver: AppleUSBXHCILPTH
PCI Device ID: 0x8c31
PCI Revision ID: 0x0005
PCI Vendor ID: 0x8086
Apple Internal Keyboard / Trackpad:
Product ID: 0x0262
Vendor ID: 0x05ac (Apple Inc.)
Version: 2.25
Speed: Up to 12 Mb/sec
Manufacturer: Apple Inc.
Location ID: 0x14400000 / 4
Current Available (mA): 1000
Current Required (mA): 40
Extra Operating Current (mA): 0
Built-In: Yes
BRCM20702 Hub:
Product ID: 0x4500
Vendor ID: 0x0a5c (Broadcom Corp.)
Version: 1.00
Speed: Up to 12 Mb/sec
Manufacturer: Apple Inc.
Location ID: 0x14300000 / 3
Current Available (mA): 1000
Current Required (mA): 94
Extra Operating Current (mA): 0
Built-In: Yes
Bluetooth USB Host Controller:
Product ID: 0x8289
Vendor ID: 0x05ac (Apple Inc.) 上一頁12下一頁共2頁