INFO 01:05:54.310 │ DEVICE
INFO 01:05:54.316 │ [AdbBinary]
C:\Users\Documents\Apps\NKAS\toolkit\android-platform-tools\adb.exe
INFO 01:05:54.319 │ <<< DETECT DEVICE >>>
INFO 01:05:54.320 │ Here are the available devices, copy to
NKAS.Emulator.Serial to use it or set NKAS.Emulator.Serial="auto"
ERROR 01:05:54.321 │ AttributeError: 'AdbClient' object has no attribute
'_connect'
╭───────────────── Traceback (most recent call last) ─────────────────╮
│ C:\Users\Documents\Apps\NKAS\module\device\connection.py:33 in retry_wrapper │
│ │
│ 28 │ │ for _ in range(RETRY_TRIES): │
│ 29 │ │ │ try: │
│ 30 │ │ │ │ if callable(init): │
│ 31 │ │ │ │ │ self.sleep(RETRY_DELAY) │
│ 32 │ │ │ │ │ init() │
│ ❱ 33 │ │ │ │ return func(self, *args, **kwargs) │
│ 34 │ │ │ # Can't handle │
│ 35 │ │ │ except RequestHumanTakeover: │
│ 36 │ │ │ │ break │
│ 37 │ │ │ # When adb server was killed │
│ 38 │ │ │ except ConnectionResetError as e: │
│ │
│ ╭──────────────────────────── locals ─────────────────────────────╮ │
│ │ _ = 0 │ │
│ │ args = () │ │
│ │ e = AttributeError("'AdbClient' object has no attribute │ │
│ │ '_connect'") │ │
│ │ func = <function Connection.list_device at │ │
│ │ 0x0000016192FC3600> │ │
│ │ init = None │ │
│ │ kwargs = {} │ │
│ │ self = <module.device.device.Device object at │ │
│ │ 0x00000161FFE93920> │ │
│ ╰─────────────────────────────────────────────────────────────────╯ │
│ │
│ C:\Users\Documents\Apps\NKAS\module\device\connection.py:467 in list_device │
│ │
│ 462 │ │ │ Returns: │
│ 463 │ │ │ │ SelectedGrids[AdbDeviceWithStatus]: │
│ 464 │ │ """ │
│ 465 │ │ devices = [] │
│ 466 │ │ # try: │
│ ❱ 467 │ │ with self.adb_client._connect() as c: │
│ 468 │ │ │ """ │
│ 469 │ │ │ │ 好像和 adb devices / adb get-serialno 差不多 │
│ 471 │ │ │ │ │
│ 472 │ │ │ │ │
│ https://cs.android.com/android/platform/superproject/+/master │
│ │
│ ╭──────────────────────────── locals ─────────────────────────────╮ │
│ │ devices = [] │ │
│ │ self = <module.device.device.Device object at │ │
│ │ 0x00000161FFE93920> │ │
│ ╰─────────────────────────────────────────────────────────────────╯ │
╰─────────────────────────────────────────────────────────────────────╯
AttributeError: 'AdbClient' object has no attribute '_connect'
Following error: