AutoX
AutoX copied to clipboard
6.5.8多线程无法停止
- Autox.js 版本:628
- Autox.js 下载渠道:https://github.com/kkevsekk1/AutoX/releases
- Android 版本:Android 10
- Android 机型:iQOO
- Android 系统类别:originos
- VSCODE Autox.js 扩展版本(可选,如果是连接电脑的问题需要填):
- 问题描述:其他issue给的很详细了。所有已知的正常停止操作后。此脚本启动的线程并没有中断。继续工作。
- 报错日志(可选):
- 屏幕截图(可选):
还有,setTimeout函数也是,在设定的延时内,停止脚本也是接着运行。当然,我用这个函数来实现定时循环操作。
示例代码中的监听示例无法通过管理页面的关闭按钮关闭脚本
监听示例-通知监听报错
09:20:31.480/E: Wrapped android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? (/data/user/0/org.autojs.autoxjs.v6/files/sample/事件与按键、触摸监听/通知监听.js#2)
Wrapped android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
at /data/user/0/org.autojs.autoxjs.v6/files/sample/事件与按键、触摸监听/通知监听.js:2:0
多线程无法关闭,示例参考#829
示例代码中的监听示例无法通过管理页面的关闭按钮关闭脚本
监听示例-通知监听报错
09:20:31.480/E: Wrapped android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? (/data/user/0/org.autojs.autoxjs.v6/files/sample/事件与按键、触摸监听/通知监听.js#2) Wrapped android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? at /data/user/0/org.autojs.autoxjs.v6/files/sample/事件与按键、触摸监听/通知监听.js:2:0
多线程无法关闭,示例参考#829
你也是所有的X都点了,结果半天都停止不了吧。感觉就像所有的停止脚本被什么东西阻塞了。
这个版本的强制停止脚本是有点问题,后续会优化
我的华为上是:点停止脚本以后,并不会立刻停止,直到手机关屏后,events才会接收到exit事件,然后退出脚本
此lssue由于长期未活动已被自动关闭,如问题任然存在,请重新打开lssue