Skip to content

ADB Keyboard 已安装并启用,但 Open-AutoGLM 检测失败(需强制修改 phone_agent/input.py 才能运行) #188

@a727081046

Description

@a727081046

System Info / 系統信息

  • OS: Linux (Docker container)
  • Python: 3.x
  • Open-AutoGLM: latest (from main branch)
  • Android: 已 root 的 Android 设备(ADB over Wi-Fi)
  • ADB version: 1.0.41
  • Input Method:
    • ADB Keyboard installed & enabled
    • Default IME: com.android.adbkeyboard/.AdbIME

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

  1. 在 Android 设备上安装 ADB Keyboard
  2. 在 设置 → 语言和输入法 → 输入法 中启用 ADB Keyboard
  3. 执行:
    adb shell ime enable com.android.adbkeyboard/.AdbIME
    adb shell ime set com.android.adbkeyboard/.AdbIME
  4. 确认:
    adb shell settings get secure default_input_method
    返回 com.android.adbkeyboard/.AdbIME
  5. 运行 Open-AutoGLM:
    python main.py --device-id ...
  6. 启动阶段失败,报错:
    ADB Keyboard is not installed on the device

Expected behavior / 期待表现

如果 ADB Keyboard 已安装并可通过 adb 正常工作,
system check 应该通过,或至少提供跳过检查的官方选项。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions