Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在反复连接设备时,同一设备sn号会改变 #38

Open
falconxzx opened this issue Mar 6, 2021 · 4 comments
Open

在反复连接设备时,同一设备sn号会改变 #38

falconxzx opened this issue Mar 6, 2021 · 4 comments
Labels
invalid This doesn't seem right

Comments

@falconxzx
Copy link

code:

import adbutils

adb = adbutils.AdbClient(host="127.0.0.1", port=5037)
for event in adb.track_devices():
print(event.present, event.serial, event.status)

result:
True WRU6R20603000237 offline
False WRU6R20603000237 absent
True WRU6R20603000237 device
False WRU6R20603000237 absent
True WRU6R20603000237 offline
False WRU6R20603000237 absent
True WRU6R20603000237 device
False WRU6R20603000237 absent
True WRU6R20603000237 offline
False WRU6R20603000237 absent
True WRU6R20603000237 device
False WRU6R20603000237 absent
True c69d9b9f9ac7175b offline
False c69d9b9f9ac7175b absent

True WRU6R20603000237 offline
False WRU6R20603000237 absent
True WRU6R20603000237 device
False WRU6R20603000237 absent
True WRU6R20603000237 offline
False WRU6R20603000237 absent
True WRU6R20603000237 device

@codeskyblue
Copy link
Member

要么是adb出什么毛病了,要么是设备出什么毛病了

@codeskyblue codeskyblue added the invalid This doesn't seem right label Mar 8, 2021
@GlodenBoy
Copy link

GlodenBoy commented Mar 15, 2023

同样遇到这个问题,adb 用的安卓开发工具里的

@codeskyblue
Copy link
Member

锅甩给adb

@GlodenBoy
Copy link

GlodenBoy commented Mar 17, 2023

锅甩给adb

adbutils里默认带了adb,不知道为啥不会用我环境变量里的,我下载最新的adb替换包里的,目前确实没有出这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants