自动化平台搭建问题汇总

问题一: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:\workspace\auto-test-platform\atxserver2-android-provider-master\device.py", line 62, in init
await self._init_forwards()
File "F:\workspace\auto-test-platform\atxserver2-android-provider-master\device.py", line 164, in _init_forwards
self._atx_proxy_port = await self.proxy_device_port(7912)
File "F:\workspace\auto-test-platform\atxserver2-android-provider-master\device.py", line 214, in proxy_device_port
self.run_background([
File "F:\workspace\auto-test-platform\atxserver2-android-provider-master\device.py", line 228, in run_background
p = subprocess.Popen(*args, **kwargs)
File "D:\softinstall\Python\Python38\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\softinstall\Python\Python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。

解决方法:

本地未安装Node, 安装Node.js后问题解决;

 

posted @ 2021-04-24 19:16  jiguanghover  阅读(1032)  评论(0编辑  收藏  举报