人妻丰满熟妇无码区乱com|久久婷婷午夜精品二区|一道本国产不卡视频|国产孕妇故爱A级高清片免费看

<tbody id="geoqw"></tbody>
  • <center id="geoqw"></center>
  • <menu id="geoqw"></menu>
  • <center id="geoqw"></center>
    
    <menu id="geoqw"></menu>
  • linux下adb連接失敗的怎么解決

    時間:2022-10-04 04:01:01 網(wǎng)絡(luò)知識 我要投稿

    linux下adb連接失敗的怎么解決

      不管是在Windows系統(tǒng)還是在Linux系統(tǒng)中,相信不少用戶或開發(fā)者都遇到過手機adb連接不上的情況。其實出現(xiàn)這種問題很多時候是由于 adb沖突導致的,畢竟很多軟件都有自己的adb鏈接。那么,出現(xiàn)這種問題該怎么辦呢?下面就給大家介紹下Mac或者linux下adb連接失敗的解決辦法。

      1.查看設(shè)備VenderID

      在mac下 或者Linux打開終端(Terminal),linux下可以按快捷鍵(CTRL+T,忘了具體是不是大家去試試或者查查),mac下Control+space,輸入Terminal打開。打開終端后,輸入命令

      mac下:

      system_profiler SPUSBDataType

      linux下:

      lsusb

      結(jié)果如下:

      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.)

      Version: 1.18

      Speed: Up to 12 Mb/sec

      Manufacturer: Apple Inc.

      Location ID: 0x14330000 / 7

      Current Available (mA): 1000

      Current Required (mA): 0

      Extra Operating Current (mA): 0

      Built-In: Yes

      USB Mouse:

      Product ID: 0x00fb

      Vendor ID: 0x0e8f

      Version: 0.01

      Speed: Up to 1.5 Mb/sec

      Manufacturer: YSTEK

      Location ID: 0x14200000 / 2

      Current Available (mA): 1000

      Current Required (mA): 100

      Extra Operating Current (mA): 0

      MX4 Pro:

      Product ID: 0x0c02

      Vendor ID: 0x2a45

      Version: ff.ff

      Serial Number: 0123456789ABCDEF

      Speed: Up to 480 Mb/sec

      Manufacturer: Meizu

      Location ID: 0x14100000 / 29

      Current Available (mA): 1000

      Current Required (mA): 500

      Extra Operating Current (mA): 0

      我的是MX4 Pro,所以Vendor ID: 0x2a45

      2.添加VendorID

      進入/Users/user/.android,.android為隱藏文件夾,可以通過終端進入直接:

      cd /Users/user/.android

      ls

      應(yīng)該有個adb_usb.ini文件,在windows用戶目錄下也有該文件。添加上上面的Vendor ID

      # ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.

      # USE ‘android update adb’ TO GENERATE.

      # 1 USB VENDOR ID PER LINE.

      0x2a45

      3.重啟adb命令

      在終端下一次輸入:

      adb kill-server

      adb start-server

    【linux下adb連接失敗的怎么解決】相關(guān)文章:

    關(guān)于linux下adb連接失敗的怎么解決12-25

    網(wǎng)絡(luò)連接錯誤678怎么解決11-01

    網(wǎng)絡(luò)連接出現(xiàn)null錯誤怎么解決09-14

    平板電腦怎么連接網(wǎng)絡(luò)01-18

    解決寬帶連接不上錯誤69111-27

    網(wǎng)絡(luò)連接頻繁斷開的解決方法12-07

    網(wǎng)絡(luò)頻繁的斷開連接的原因及解決方案09-28

    藍牙音箱無法連接的解決辦法08-17

    寬帶連接錯誤678是怎么回事05-31

    steam更新失敗的解決辦法12-25