mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-23 20:04:03 +02:00
adb-{connect, disconnect, pair, forward, uninstall}: add Chinese translation (#17584)
This commit is contained in:
parent
5985ae9bf0
commit
7d00085a72
5 changed files with 62 additions and 0 deletions
16
pages.zh/common/adb-connect.md
Normal file
16
pages.zh/common/adb-connect.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# adb connect
|
||||
|
||||
> 通过无线连接到 Android 设备。
|
||||
> 更多信息:<https://developer.android.com/tools/adb>.
|
||||
|
||||
- 与一个安卓设备配对(可在开发者选项中,找到地址和配对码):
|
||||
|
||||
`adb pair {{ip_地址}}:{{端口}}`
|
||||
|
||||
- 与一个安卓设备连接(端口与配对时存在差异):
|
||||
|
||||
`adb connect {{ip_地址}}:{{端口}}`
|
||||
|
||||
- 断开与设备的连接:
|
||||
|
||||
`adb disconnect {{ip_地址}}:{{端口}}`
|
7
pages.zh/common/adb-disconnect.md
Normal file
7
pages.zh/common/adb-disconnect.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# adb disconnect
|
||||
|
||||
> 该命令已移动到 `adb connect`.
|
||||
|
||||
- 查看 `adb disconnect` 的文档:
|
||||
|
||||
`tldr adb connect`
|
20
pages.zh/common/adb-forward.md
Normal file
20
pages.zh/common/adb-forward.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# adb forward
|
||||
|
||||
> 通过无线连接到一个 Android 设备。
|
||||
> 更多信息:<https://developer.android.com/tools/adb>.
|
||||
|
||||
- 转发一个 TCP 端口:
|
||||
|
||||
`adb forward tcp:{{本地_端口}} tcp:{{远程_端口}}`
|
||||
|
||||
- 列出所有转发规则:
|
||||
|
||||
`adb forward --list`
|
||||
|
||||
- 移除转发规则:
|
||||
|
||||
`adb forward --remove tcp:{{本地_端口}}`
|
||||
|
||||
- 移除所有转发规则:
|
||||
|
||||
`adb forward --remove-all`
|
7
pages.zh/common/adb-pair.md
Normal file
7
pages.zh/common/adb-pair.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# adb pair
|
||||
|
||||
> 该命令已移动到 `adb connect`.
|
||||
|
||||
- 查看 `adb pair` 的文档:
|
||||
|
||||
`tldr adb connect`
|
12
pages.zh/common/adb-uninstall.md
Normal file
12
pages.zh/common/adb-uninstall.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# adb uninstall
|
||||
|
||||
> 卸载一个软件包。
|
||||
> 更多信息:<https://manned.org/adb>.
|
||||
|
||||
- 卸载一个软件包:
|
||||
|
||||
`adb uninstall {{com.example.app}}`
|
||||
|
||||
- 卸载软件包,但是保留用户数据:
|
||||
|
||||
`adb uninstall -k {{com.example.app}}`
|
Loading…
Add table
Reference in a new issue