Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _adb.py catch AdbTimeout #124

Closed
wants to merge 2 commits into from
Closed

Conversation

ok-oldking
Copy link

我有时候会遇到 AdbTimeout, 导致无法使用, 不太容易重现,
看代码这里抛了AdbTimeout,AdbConnectionError, catch这里只有catch一个, 我改成catch两个的话, 确实可以解决问题正常连接. 不知道是否应该这样:

@codeskyblue
Copy link
Member

这个应该是需要修改,连接超时时间的。你是windows吗?

@ok-oldking
Copy link
Author

@codeskyblue
Copy link
Member

image

@codeskyblue
Copy link
Member

我先把时间延长了一下,试试

codeskyblue added a commit that referenced this pull request May 20, 2024
codeskyblue added a commit that referenced this pull request May 20, 2024
…t, fix adb-server not start on windows

* add kwargs error_ok for screenshot
* fix adb not start-server on windows
* fix screenshot with display_id
* change socket timeout from 0.5 to 3
* fix window_size for android tablelet
* manual merge pr #124
@codeskyblue
Copy link
Member

thanks, 已手工合并

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

Successfully merging this pull request may close these issues.

2 participants