You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:/mycode/mine/cv/ui.py", line 3, in
d = u2.connect() # 一个设备时, read env-var ANDROID_SERIAL
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2_init_.py", line 1079, in connect
return connect_usb(serial)
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2_init_.py", line 1095, in connect_usb
return Device(serial)
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2_init_.py", line 69, in init
BasicUiautomatorServer.init(self, self._dev)
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2\core.py", line 170, in init
self.start_uiautomator()
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2\core.py", line 195, in start_uiautomator
self._wait_ready()
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2\core.py", line 219, in _wait_ready
self._wait_app_process_ready(launch_timeout)
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2\core.py", line 245, in _wait_app_process_ready
raise LaunchUiAutomationError("server not ready", output_buffer)
uiautomator2.exceptions.LaunchUiAutomationError: ('server not ready', '[server] INFO: [UiAutomator2Server] Starting Server\nSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n[server] INFO: clipboardManager inited\n[server] INFO: [UiAutomator2Server] Starting Server\nSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n[server] INFO: clipboardManager inited\n[server] INFO: [UiAutomator2Server] Starting Server\nSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n[server] INFO: clipboardManager inited\n[server] INFO: [UiAutomator2Server] Starting Server\nSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n[server] INFO: clipboardManager inited\n')
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
3.2.3版本,连接时报错,详细信息如下:
Traceback (most recent call last):
File "D:/mycode/mine/cv/ui.py", line 3, in
d = u2.connect() # 一个设备时, read env-var ANDROID_SERIAL
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2_init_.py", line 1079, in connect
return connect_usb(serial)
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2_init_.py", line 1095, in connect_usb
return Device(serial)
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2_init_.py", line 69, in init
BasicUiautomatorServer.init(self, self._dev)
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2\core.py", line 170, in init
self.start_uiautomator()
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2\core.py", line 195, in start_uiautomator
self._wait_ready()
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2\core.py", line 219, in _wait_ready
self._wait_app_process_ready(launch_timeout)
File "D:\mycode\mine\venv\lib\site-packages\uiautomator2\core.py", line 245, in _wait_app_process_ready
raise LaunchUiAutomationError("server not ready", output_buffer)
uiautomator2.exceptions.LaunchUiAutomationError: ('server not ready', '[server] INFO: [UiAutomator2Server] Starting Server\nSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n[server] INFO: clipboardManager inited\n[server] INFO: [UiAutomator2Server] Starting Server\nSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n[server] INFO: clipboardManager inited\n[server] INFO: [UiAutomator2Server] Starting Server\nSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n[server] INFO: clipboardManager inited\n[server] INFO: [UiAutomator2Server] Starting Server\nSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".\nSLF4J: Defaulting to no-operation (NOP) logger implementation\nSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.\n[server] INFO: clipboardManager inited\n')
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: