[Bug] Accessibility service unbound on vivo Android 16, screens captured always 0
设备:vivo V2425A,Android 16
客户端:自编译 debug APK(main 分支,2026-10-01,version 1.0.0317.01)
后端:自建 Ubuntu 22.04,连接正常(devices 能看到 vivo V2425A,任务能创建并执行)
现象
- 用"快捷方式"(音量键)开关无障碍时,UI 显示已开启但服务并未绑定;必须走 设置 → 无障碍 → 已安装的服务 → OpenGUI AI Automation Service 手动开启。
- 手动开启后任务能执行成功,但执行报告里
Screens captured and described: 0,摘要说明没有截图可用,实际观察不到屏幕。 - 之后 App 又提示
Grant accessibility permission,并弹出 toastAccessibility service unbound。
已尝试(均无效)
- 清除数据 / 卸载重装 / 重启手机
- 电池优化设为不受限制、开启自启动、悬浮窗、后台弹出界面
- 「允许受限设置」(侧载应用)——系统未显示该限制
期望 无障碍服务能正常绑定,截图能真正采集到并交给模型。
@gthayou Thanks for reporting this. PR #113 has been merged into main (commit 6baa582). It fixes three application-side defects:
- Accessibility readiness now requires both the enabled setting and a connected service instance.
- Unbinding or destroying the accessibility service clears its stale instance.
- A graph that finishes after device execution or todo failures now reports task failure instead of success.
The related backend and Android tests passed (53 tests), and both the backend build and Android debug APK build passed. Please build from the latest main and retest on your vivo V2425A running Android 16. This merge does not mean a new APK release has been published.
We have not yet verified the device-specific system cause of the accessibility service unbinding. If it still unbinds, please share the reproduction steps and relevant logs, especially around service connection/unbinding and screenshot failures. We are keeping this issue open pending device verification.