SuperMonster003 / AutoJs6

安卓平台 JavaScript 自动化工具 (Auto.js 二次开发项目)
https://docs.autojs6.com
Mozilla Public License 2.0
2.16k stars 656 forks source link

使用events.observeNotification()报错 #145

Closed wingswing1 closed 9 months ago

wingswing1 commented 9 months ago

提示 08:43:42.930/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? (/storage/emulated/0/脚本/w.js#1) 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 /storage/emulated/0/脚本/w.js:1:0

Charlotte3240 commented 4 months ago

想问一下 这个解决了吗 或者呦解决方案吗 监听app toast

zanyatta commented 4 weeks ago

通病,重新授予无障碍权限。