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
{{ message }}
This repository has been archived by the owner on May 27, 2024. It is now read-only.
我想用PC通过wifi控制手机,但是usb一断开,atxAgent就会停止服务,运行脚本会报以下错误
File "test.py", line 7, in
d = u2.connect_wifi("10.1.42.109")
File "D:\design\python\lib\site-packages\uiautomator2_init_.py", line 1958, in connect_wifi
raise ConnectError("addr is invalid or atx-agent is not running", addr)
uiautomator2.exceptions.ConnectError: ('addr is invalid or atx-agent is not running', '10.1.42.109')
usb重新接上之后,通过命令adb shell /data/local/tmp/atx-agent server -d启动后又可以使用wifi连接
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
我想用PC通过wifi控制手机,但是usb一断开,atxAgent就会停止服务,运行脚本会报以下错误
File "test.py", line 7, in
d = u2.connect_wifi("10.1.42.109")
File "D:\design\python\lib\site-packages\uiautomator2_init_.py", line 1958, in connect_wifi
raise ConnectError("addr is invalid or atx-agent is not running", addr)
uiautomator2.exceptions.ConnectError: ('addr is invalid or atx-agent is not running', '10.1.42.109')
usb重新接上之后,通过命令adb shell /data/local/tmp/atx-agent server -d启动后又可以使用wifi连接
The text was updated successfully, but these errors were encountered: