-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
描述问题bug
Windows11 23H2 系统 11月份更新 KB5068865补丁后 airtest 无法识别到手机
脚本无法跑,但是直接使用adb.exe本身是可以获取到手机的,
请问是否或何时可以更新补丁以适配windows11 23H2 更新
C:\Users\LES>D:\X_Programs\Python310\Lib\site-packages\airtest\core\android\static\adb\windows\adb.exe devices
List of devices attached
EMHVB21B25008141 device
YYEYD22928500076 device
C:\Users\LES>python
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from airtest.core.android.adb import ADB
>>> ADB().devices()
[09:29:55][DEBUG]<airtest.core.android.adb> D:\X_Programs\Python310\Lib\site-packages\airtest\core\android\static\adb\windows\adb.exe devices
[]
>>>
相关截图
复现步骤
- 系统为23H2的windows11 电脑
- 通过python 导入包 from airtest.core.android.adb import ADB
- 无法识别到设备
- 退出python
- 使用刚才打印出日志的adb路径,直接输入
- 可以识别到设备
预期效果
正常在步骤3,通过airtest包也可以识别到设备
python 版本: 3.10.11,3.10.5试了多个版本均如此
airtest 版本: 1.3.6
设备:
- 手机型号: HUAWEI nova9 和HUAWEI nova9 se 以及 华为畅享Play
- 系统: [鸿蒙OS4 (Android 12)], 也试了非鸿蒙系统,一样有问题
其他相关环境信息
- 电脑系统: Windows11 23H2, 试了Windows11 24H2 和 25H的 没有问题,只有23H2的电脑 本次更新之后就识别不了了
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels