AirtestProject / Poco

A cross-engine test automation framework based on UI inspection
http://airtest.netease.com/
Apache License 2.0
1.74k stars 315 forks source link

vivo手机 安卓13 click后报错 执行下一条 click时一直卡住,急,求解决方法 #568

Open vivouser01 opened 1 year ago

vivouser01 commented 1 year ago

[17:51:37][DEBUG] [javacap_sever]b'Capture server listening on @javacap_13098' [17:51:37][DEBUG] [javacap_sever]b'java.lang.NoSuchMethodException: android.view.SurfaceControl.screenshot [class android.graphics.Rect, int, int, int]' [17:51:37][DEBUG] [javacap_sever]b'at java.lang.Class.getMethod(Class.java:2103)' [17:51:37][DEBUG] [javacap_sever]b'at java.lang.Class.getDeclaredMethod(Class.java:2081)' [17:51:37][DEBUG] [javacap_sever]b'at com.netease.nie.yosemite.compat.ScreenshotManagerWrapper$NewApiScreenshotInjector.injectorMethod(ScreenshotManagerWrapper.java:123)' [17:51:37][DEBUG] [javacap_sever]b'at com.netease.nie.yosemite.compat.ScreenshotManagerWrapper.(ScreenshotManagerWrapper.java:28)' [17:51:37][DEBUG] [javacap_sever]b'at com.netease.nie.yosemite.Capture$InputClient.run(Capture.java:168)' [17:51:38][ERROR] OSError('socket connection broken',) [17:51:38][ERROR] Javacap setup up failed! D:\Users\11138551\Desktop\AirtestIDE\airtest\core\android\cap_methods\adbcap.py:10: UserWarning: Currently using ADB screenshots, the efficiency may be very low. warnings.warn("Currently using ADB screenshots, the efficiency may be very low.") [17:51:38][DEBUG] D:\Users\11138551\Desktop\AirtestIDE\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 400D1K002100000 shell screencap -p [17:51:38][DEBUG] [javacap_sever]b'' [17:51:38][DEBUG] D:\Users\11138551\Desktop\AirtestIDE\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 400D1K002100000 shell screencap -p [17:51:39][DEBUG] D:\Users\11138551\Desktop\AirtestIDE\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 400D1K002100000 shell ls -l /data/local/tmp/maxpresent.jar [17:51:39][DEBUG] install_maxtouch skipped [17:51:39][DEBUG] D:\Users\11138551\Desktop\AirtestIDE\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 400D1K002100000 forward --no-rebind tcp:16782 localabstract:maxpresent_16782 [17:51:39][DEBUG] D:\Users\11138551\Desktop\AirtestIDE\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 400D1K002100000 shell app_process -Djava.class.path=/data/local/tmp/maxpresent.jar /data/local/tmp com.netease.maxpresent.MaxPresent socket maxpresent_16782 [17:51:39][DEBUG] [airtouch_server]b'Metrics Message : 2800.0=====1968.0' [17:51:39][DEBUG] [airtouch_server]b'Start local socket (maxpresent_16782) server...' Exception ignored in: <bound method RpcObjectProxy.del of '<Rpc remote object proxy of [Lcom.netease.open.libpoco.sdk.AbstractNode;@ce4b081>'> Traceback (most recent call last): File "hrpc\object_proxy.py", line 114, in del File "hrpc\client.py", line 64, in evaluate File "hrpc\transport\http.py", line 24, in send File "site-packages\requests\api.py", line 119, in post File "site-packages\requests\api.py", line 61, in request File "site-packages\requests\sessions.py", line 530, in request File "site-packages\requests\sessions.py", line 643, in send File "site-packages\requests\adapters.py", line 529, in send requests.exceptions.ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=19831): Read timed out. (read timeout=0.3)

vivouser01 commented 1 year ago

abfb13ea-d09a-4cb7-a4f6-a948d5c2539b