Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

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 #110

Open
chencuan opened this issue Jul 16, 2023 · 0 comments

Comments

@chencuan
Copy link

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
请问这是什么原因

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant