For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/ai/agent-lynx/troubleshooting.md.
AI logo
AI
  • 简体中文
  • 常见问题

    现象检查方式
    找不到 client保持应用在前台运行,打开 Lynx Debug 和 Lynx DevTool,并检查设备连接。Android 设备还需确认已授权 USB 调试。
    选中了错误的页面重新运行 list-clients 和 list-sessions,显式传入目标 client 和 session ID。
    元素引用不存在或已失效重新运行 snapshot,使用同一个 client 和 session 最新输出中的引用。
    ReactLynx 组件树为空检查所选 session,并使用包含兼容 ReactLynx DevTools 的开发构建。
    无法获取源码位置启用 UI source-map 生成,并确保工具可以访问与页面匹配的 debug metadata。
    Agent 报网络权限错误允许 agent 访问本地 daemon 和设备服务。使用 Codex 时,参见 Codex 网络配置。

    可以用 agent-lynx daemon status 检查本地 daemon,并通过 <command> --help 查看当前选项。--no-daemon 用于显式的直接连接场景;页面快照、元素引用操作、screenshot 和 ReactLynx 命令需要 daemon。

    Daemon 管理和直接连接参见应用与页面连接,诊断环境变量参见 CLI 参考。

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。