bug, 4.0.5alpha, findOne()
       bk = idContains("back")
            .clickable()
            .boundsInside(0, 0, 200, 300)
            .findOne();
        bk.click();

错误如下,

23:03:11.914/E: Wrapped java.lang.IllegalStateException: nodeInfo.viewIdResourceName must not be null (/storage/emulated/0/_JS/AutoJS/_mi6/蚂蚁森林.js#618)
Wrapped java.lang.IllegalStateException: nodeInfo.viewIdResourceName must not be null
at backHomepage (/storage/emulated/0/_JS/AutoJS/_mi6/蚂蚁森林.js:618:0)
at startAlipayN (/storage/emulated/0/_JS/AutoJS/_mi6/蚂蚁森林.js:519:0)
at /storage/emulated/0/_JS/AutoJS/_mi6/蚂蚁森林.js:16:0

最后由 basking 编辑

貌似只用单个uiSelector可以找到,否则返回null

@admin 刚用4.05版测试,一模一样的错误

开发者

不对吧 我4.0.5Alpha Ok

@admin
这次终于真的解决了,4.1.0 alpha2,谢谢

  • 6
    帖子
  • 2082
    浏览

与 Auto.js 的连接断开,我们正在尝试重连,请耐心等待