Appium APP 执行微信小程序自动化报错,前几天还可以,今天突然不行了!!!

gdx · 2020年09月29日 · 最后由 张喜萍 回复于 2021年06月01日 · 3044 次阅读

问题描述:
APP 执行微信小程序自动化报错 Timed out after 10000 milliseconds waiting for root AccessibilityNodeInfo,前几天还可以,今天突然不行了!!!

报错具体内容:
Could not obtain source: {"cause":{"sessionId":"c07d91ca-b505-4bc1-822b-b0db50b71e91","status":13,"value":{"message":"An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Timed out after 10000 milliseconds waiting for root AccessibilityNodeInfo\n\tat io.appium.uiautomator2.utils.AXWindowHelpers.refreshRootAXNode(AXWindowHelpers.java:81)\n\tat io.appium.uiautomator2.handler.Source.safeHandle(Source.java:38)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:250)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:241)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)\n\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)\n\tat io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandle

报错截图

共收到 6 条回复 时间 点赞

什么原因呢

百度一下,你就知道!!!!!!

gdx #3 · 2020年09月30日 Author
黑山老妖 回复

百度半天了,也没有找到答案,请大佬指点下

微信版本问题,据说是要用 7.0.14 版本能解决

换微信版本,我出问题的是 7.0.18。换了个 7.0.4 就好了。。而且速度还快了一些。。

6楼 已删除

微信下载了低版本马上提示要升级到最新版才能使用咋整

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册