Orange
Results
2
comments of
Orange
遇到同样的问题,用pyinstaller 打包,运行Airtest的 python时报错 [13:37:44][DEBUG] C:\Users\{username}\AppData\Local\Temp\_MEI314882\airtest\core\android\static\adb\windows\adb.exe devices [WinError 2] The system cannot find the file specified
> 我们的项目在调用airtest的API前加了个判断,如果本地已经安装了adb,则使用本地安装的 > > ```python > def _set_adb_path(): > system = platform.system() > machine = platform.machine() > adb_index = '{}-{}'.format(system, machine) > if adb_index not in DEFAULT_ADB_PATH: > adb_index =...