chore: lock android debugging to honor device

This commit is contained in:
Codex
2026-03-23 14:26:18 +08:00
parent 0453c1b8ce
commit b338a1ff1a
2 changed files with 111 additions and 0 deletions

View File

@@ -198,6 +198,16 @@ cd android-app
android-app/app/build/outputs/apk/debug/app-debug.apk
```
如果你后面要只用那台荣耀无线调试手机来联调,仓库里已经有固定目标脚本:
```bash
./scripts/android_honor_debug.sh build-install
./scripts/android_honor_debug.sh launch
./scripts/android_honor_debug.sh screenshot
```
这个脚本默认只会操作当前锁定的荣耀设备,不会去碰别的安卓手机。需要切换目标时,再通过 `BOSS_ANDROID_SERIAL` 显式覆盖。
安卓端当前包含:
- 会话创建、切换、持续对话