-
Notifications
You must be signed in to change notification settings - Fork 554
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
脚本运行错误,求解! #122
Comments
启动跳板是开启的,关闭开启都试过,效果一个样 |
尝试将 clickAction(confirm_btn_node, "widget"); 修改为 try {
clickAction(confirm_btn_node, "widget");
} catch (e) {} |
按照您的方法修改了下,确实可以了,不再报错了。做程序的就是牛B,几下找出问题。奈何我几年前就想学编程,可现在还是一点不懂,支持!!! |
可尝试关闭"启动跳板"功能 可能是脚本在获取 |
反馈问题时"启动跳板"是关闭了的,你回复后我又打开试了多次,然后又关闭试了多次还是一样! |
今天我单独用解锁模块测下,发现仍有一定几率会打开‘运动健康’!所以我怀疑导致此问题的代码可能在解锁模块中!猜测 |
视频中看到设备解锁成功后 主页面出现"完成"字样的桌面小工具 (左侧是"xxxx步" 右上部分是"完成 xx%" 右下部分是"热量 xxx 大卡") 脚本会点击"完成" 因为有些机型 (如坚果 Pro 2s) 需要在输入密码后额外点击"完成"按钮 因而脚本误点击了桌面小工具 进入了运动健康 |
感谢回复!已了解,期待下一版! |
|
require("./Modules/MODULE_UNLOCK").unlock(); |
OK, 原来是路径错误!再次感谢!问题结束。 |
你好,大神,之前用的是1.7.0,运行没什么问题,就是偶尔要清除下程序存储,用到今天来更新了下,1.9.4,可以解锁,但不运行程序,提示19:19:55.264/E: JavaException: java.lang.IllegalArgumentException: Path bounds must not be negative (file:///android_asset/modules/automator.js#17)
JavaException: java.lang.IllegalArgumentException: Path bounds must not be negative
at :43:0
因为我一直是配合TASKER定时一天3次用的,1.7.0时是直接插件就可以了,1.9.4不行了,要在前面加个启动程序AUTO.JS才行,加了是可以但完成了后auto.js不会退出。
The text was updated successfully, but these errors were encountered: