add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,33 +1,37 @@
# adb
> 安卓调试桥:与 Android 模拟器或连接的 Android 设备通信。
> 此命令也有关于其子命令的文件,例如:`shell`.
> 更多信息:<https://developer.android.com/tools/adb>.
> Android 调试桥:与 Android 模拟器实例或连接的 Android 设备进行通信。
> 一些子命令如 `shell` 有其自己的使用文档。
> 更多信息:<https://developer.android.com/tools/adb>
- 检查 adb server 进程是否在运行,并开启它:
- 检查 adb 服务器进程是否在运行并启动它:
`adb start-server`
- 终止 adb server 进程:
- 终止 adb 服务器进程:
`adb kill-server`
- 在目标模拟器 / 设备实例上开启一个远程 shell
- 在目标模拟器/设备实例中启动远程 shell
`adb shell`
- 将 Android 应用程序推送到模拟器 / 设备:
- 将 Android 应用程序推送到模拟器/设备:
`adb install -r {{路径/到/应用.apk}}`
`adb install -r {{path/to/file.apk}}`
- 从目标设备上拷贝一个文件 / 目录到本地
- 从目标设备复制文件/目录
`adb pull {{路径/到/设备的文件或目录}} {{路径/到/本地上的目录}}`
`adb pull {{path/to/device_file_or_directory}} {{path/to/local_destination_directory}}`
- 从本地拷贝一个文件 / 目录到目标设备:
- 将文件/目录复制到目标设备:
`adb push {{路径/到/本地文件或目录}} {{路径/到/设备上的目录}}`
`adb push {{path/to/local_file_or_directory}} {{path/to/device_destination_directory}}`
- 列出连接的设备:
- 列出所有连接的设备:
`adb devices`
- 如果有多个设备,请指定要发送命令的设备:
`adb -s {{device_ID}} {{shell}}`