您的位置:首页 > 软件教程 > 教程 > linux下adb连接失败的解决方法

linux下adb连接失败的解决方法

来源:互联网 | 时间:2016-07-06 10:14:47 | 阅读:85 |  标签: 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

进入/Users/user/.android,.android为隐藏文件夹,可以通过终端进入直接:

cd /Users/user/.android

ls

应该有个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

小编推荐阅读

好特网发布此文仅为传递信息,不代表好特网认同期限观点或证实其描述。

相关视频攻略

更多

扫二维码进入好特网手机版本!

扫二维码进入好特网微信公众号!

本站所有软件,都由网友上传,如有侵犯你的版权,请发邮件[email protected]

湘ICP备2022002427号-10 湘公网安备:43070202000427号© 2013~2024 haote.com 好特网