docs: 更新包文档,匹配 ADB 隧道架构和当前 API

This commit is contained in:
zyj
2026-03-10 15:52:38 +08:00
parent 8a0b1e6e98
commit 21b0862e9f
8 changed files with 188 additions and 91 deletions

View File

@@ -1,5 +1,8 @@
// Package services 提供了 UIAutomator2 服务的安装和部署功能。
//
// 本包负责将 UIAutomator2 相关的资源文件u2.jar、APK
// 推送到 Android 设备并完成安装。
// 本包负责将 UIAutomator2 相关的资源文件推送到 Android 设备并完成安装:
// - InstallServiceJar推送 u2.jar 到设备(自动检查设备端是否已存在,避免重复推送)
// - InstallServiceApk推送并安装 UIAutomator2 APK
//
// 通常无需直接调用本包libs.NewDevice() 会自动完成服务安装和启动。
package services