Mac或者linux下adb連接失敗的解決辦法
不管是在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.)
相關文章:
1. Win10系統ping時出現傳輸失敗常見故障?這招收好了2. Win8系統提示無線適配器或訪問點有問題怎么解決?3. 教你如何使用兩行代碼激活Windows系統4. 統信uos系統怎么選擇打印機驅動? uos打印機驅動的兩種選擇方法5. Win10微軟搜索很慢怎么辦?瞬間提速方法推薦6. rsync結合 inotfiy 實現實時備份的問題7. Win10桌面圖標大小怎么更改?Win10桌面圖標大小更改方法介紹8. Win10系統下雙核瀏覽器如何切換內核?9. Windows11升級可能會加密硬盤 注意!這個按鈕不要碰!10. macOS Ventura 13.3 正式版發布: 增加了重復照片檢測功能等功能