AirtestProject / AirtestProject/Poco

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

オープン
#568 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2k
フォーク
341
PR マージ指標
30日以内にマージされた PR はありません

説明

[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: '>
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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。