您的位置:首頁(yè) > 軟件教程 > 教程 > linux下adb連接失敗的解決方法

linux下adb連接失敗的解決方法

來(lái)源:互聯(lián)網(wǎng) | 時(shí)間:2016-07-06 10:14:47 | 閱讀:94 |  標(biāo)簽: linux   | 分享到:

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

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

cd /Users/user/.android

ls

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

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

# USE ‘a(chǎn)ndroid update adb’ TO GENERATE.

# 1 USB VENDOR ID PER LINE.

0x2a45

3.重啟adb命令

在終端下一次輸入:


adb kill-server

adb start-server

小編推薦閱讀

好特網(wǎng)發(fā)布此文僅為傳遞信息,不代表好特網(wǎng)認(rèn)同期限觀點(diǎn)或證實(shí)其描述。

相關(guān)視頻攻略

更多

掃二維碼進(jìn)入好特網(wǎng)手機(jī)版本!

掃二維碼進(jìn)入好特網(wǎng)微信公眾號(hào)!

本站所有軟件,都由網(wǎng)友上傳,如有侵犯你的版權(quán),請(qǐng)發(fā)郵件[email protected]

湘ICP備2022002427號(hào)-10 湘公網(wǎng)安備:43070202000427號(hào)© 2013~2025 haote.com 好特網(wǎng)