问题一:atxserver2-android-provider中平台无法显示Android设备
[D 210424 18:27:37 device:212] [5230d487] tcpproxy.js start *:20000 -> 20002
[E 210424 18:27:37 main:264] Unknown error: [WinError 2] 系统找不到指定的文件。
Traceback (most recent call last):
File "main.py", line 247, in device_watch
await device.init()
File "F:workspaceauto-test-platformatxserver2-android-provider-masterdevice.py", line 62, in init
await self._init_forwards()
File "F:workspaceauto-test-platformatxserver2-android-provider-masterdevice.py", line 164, in _init_forwards
self._atx_proxy_port = await self.proxy_device_port(7912)
File "F:workspaceauto-test-platformatxserver2-android-provider-masterdevice.py", line 214, in proxy_device_port
self.run_background([
File "F:workspaceauto-test-platformatxserver2-android-provider-masterdevice.py", line 228, in run_background
p = subprocess.Popen(*args, **kwargs)
File "D:softinstallPythonPython38libsubprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:softinstallPythonPython38libsubprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
解决方法:
本地未安装Node, 安装Node.js后问题解决;