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

安装新版本的ui2后atx-agent跟weditor无法正常使用,请大神指导下,谢谢 #1024

Open
Yan0789 opened this issue Aug 12, 2024 · 6 comments

Comments

@Yan0789
Copy link

Yan0789 commented Aug 12, 2024

之前安装的不是ui2 3.0的最新版本,最近在手机上删除旧的atx-agent后,重新按照流程安装[uiautomator2]出现如下问题:1.atx-agent在手机上安装有提示,但是没显示出atx-agent应用界面。2.weditor0.6.4安装的是版本,运行python -m weditor后,无法连接atx-agent。

我想试问1.当前新版本ui2是不是不支持atx-agent界面了?
2.新版本怎么在weditor调用以方便调试。
3.如果想用旧的版本,怎么弄。
高手勿喷,请指导下小白,新手。

  • 手机型号
  • huawei mate20pro ud android 10
  • uiautomator2的版本号(pip show uiautomator2)

微信截图_20240812165321

  • 手机截图

微信截图_20240812163842
微信图片_20240812165057

@Yan0789
Copy link
Author

Yan0789 commented Aug 12, 2024

微信截图_20240812170147
这是运行python -m weditor后的提示
Uploading 微信截图_20240812170315.png…

@Yan0789
Copy link
Author

Yan0789 commented Aug 12, 2024

微信截图_20240812170315

@Yan0789
Copy link
Author

Yan0789 commented Aug 12, 2024

启动服务我也试过了,一样的没有作用。
adb shell /data/local/tmp/atx-agent server -d --stop

@HungHT1890
Copy link

This is normal because app can not capture screen

@shengVguo
Copy link

我只前用uiautomator2 2.16的时候也经常有这个问题,后面换了个python版本就没有这个提示了,Python3.8 --> Python3.10

@codeskyblue
Copy link
Member

可以试试weditor的替代品。https://uiauto.dev

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

No branches or pull requests

4 participants