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

设备连接成功,但执行操作时,提示gateway error和 invalid version #924

Closed
shaoerkuai opened this issue Nov 20, 2023 · 6 comments

Comments

@shaoerkuai
Copy link

image
image

  • uiautomator2的版本号(pip show uiautomator2)
  • Name: uiautomator2
    Version: 2.16.25
    Summary: Python Wrapper for Google Android UiAutomator2 test tool
    Home-page: https://github.com/openatx/uiautomator2
    Author: codeskyblue
    Author-email: codeskyblue@gmail.com
    License: MIT
    Location: d:\program files\python38\lib\site-packages
    Requires: adbutils, cached-property, Deprecated, filelock, logzero, lxml, packaging, Pillow, progress, requests, retry, six, whichcraft
    Required-by: weditor

自研设备,非手机

@shaoerkuai
Copy link
Author

image
image

@shaoerkuai
Copy link
Author

我在操作之前,运行了下weditor,这个会有影响吗

@shaoerkuai
Copy link
Author

更新:是invalid version问题,降级packaging后解决

@qingqingcaoyuanlin
Copy link

用2.16.25存在此问题,用2.16.21正常,2.16.25的packaging是23.2,2.16.21的packaging是20.9

@shaoerkuai
Copy link
Author

用2.16.25存在此问题,用2.16.21正常,2.16.25的packaging是23.2,2.16.21的packaging是20.9

我参考了其他的issue,降级了packaging可以成功安装,这个我看到了有人提了pr去修复,但是老板还没合。

@codeskyblue
Copy link
Member

fixed

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

No branches or pull requests

3 participants