Python+adb获取设备信息

例:

import os
device = os.popen("adb devices").read()
print(device)

结果:

List of devices attached
89PVKJUWDQSKH6S4        device
发布了16 篇原创文章 · 获赞 7 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_38308549/article/details/103928787
今日推荐