openatx/atx-agent

ppython adb连接时报错Exception: arch(["error: exec '/sbin/sh' failed: No such file or directory"]) need to be supported yet, please report an issue in github

Opened this issue · 0 comments

error: exec '/sbin/sh' failed: No such file or directory
[W 230716 17:29:59 init:218] [pid:17356] atx-agent has something wrong, auto recovering
[D 230716 17:29:59 init:317] [pid:17356] [1dea630] device 1dea630 is online
[I 230716 17:29:59 init:156] uiautomator2 version: 2.16.23
[D 230716 17:29:59 init:167] Shell: ('/data/local/tmp/atx-agent', 'server', '--stop')
[I 230716 17:29:59 init:346] Install atx-agent 0.10.0
Exception in thread Thread-3: File "E:\python.解释器\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。 File "E:\python.解释器\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None)) File "E:\python.解释器\lib\site-packages\requests\adapters.py", line 489, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None)) File "E:\python.解释器\lib\site-packages\uiautomator2\init.py", line 347, in setup_atx_agent
self.push_url(self.atx_agent_url, tgz=True, extract_name="atx-agent")
File "E:\python.解释器\lib\site-packages\uiautomator2\init.py", line 200, in atx_agent_url
% self.abis)
Exception: arch(["error: exec '/sbin/sh' failed: No such file or directory"]) need to be supported yet, please report an issue in github
请问这是什么原因