adb: add Chinese translation

italian
Starccy 2019-02-25 17:20:26 +08:00 committed by Agniva De Sarker
parent e3e6808b16
commit 0ac71532fa
1 changed files with 31 additions and 0 deletions

31
pages.zh/common/adb.md Normal file
View File

@ -0,0 +1,31 @@
# adb
> 安卓调试桥: 与Android模拟器或已连接的Android设备通信.
- 检查adb server进程的是否在运行并开启它:
`adb start-server`
- 终止adb server进程:
`adb kill-server`
- 在目标模拟器/设备实例上开启一个远程shell:
`adb shell`
- 将Android应用程序推送到模拟器/设备 :
`adb install -r {{path/to/file.apk}}`
- 从目标设备上拷贝一个文件/目录到本地:
`adb pull {{path/to/device_file_or_directory}} {{path/to/local_destination_directory}}`
- 从本地拷贝一个文件/目录到目标设备:
`adb push {{path/to/local_file_or_directory}} {{path/to/device_destination_directory}}`
- 列出已连接的设备:
`adb devices`