Skip to content

一台主机连接多台设备时,adb keyboard校验不通过 #364

@wendu24

Description

@wendu24

System Info / 系統信息

🚀 启动自动化任务...
🔍 Checking system requirements...

  1. Checking ADB installation... ✅ OK (Android Debug Bridge version 1.0.41)
  2. Checking connected devices... ✅ OK (2 device(s): ASXJVB2921001717, d958c1b5)
  3. Checking ADB Keyboard... ❌ FAILED
    Error: ADB Keyboard is not installed on the device.
    Solution:
    1. Download ADB Keyboard APK from:
      https://github.com/senzhk/ADBKeyBoard/blob/master/ADBKeyboard.apk
    2. Install it on your device: adb install ADBKeyboard.apk
    3. Enable it in Settings > System > Languages & Input > Virtual Keyboard

❌ System check failed. Please fix the issues above.
System requirements check failed.

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

No response

Information / 问题信息

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

Reproduction / 复现过程

result = subprocess.run(
["adb", "shell", "ime", "list", "-s"],
capture_output=True,
text=True,
timeout=10,
) 应该是这里的代码有问题

Expected behavior / 期待表现

传入和device-id 时,能够校验指定设备的adb keyboard

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