mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:35:34 +02:00
adb: add push, pull and devices commands (#1166)
This commit is contained in:
parent
b9fded2e16
commit
1928329a65
1 changed files with 12 additions and 0 deletions
|
@ -17,3 +17,15 @@
|
||||||
- Push an Android application to an emulator/device:
|
- Push an Android application to an emulator/device:
|
||||||
|
|
||||||
`adb install -r {{path/to/file.apk}}`
|
`adb install -r {{path/to/file.apk}}`
|
||||||
|
|
||||||
|
- Copy a file/folder from the target device:
|
||||||
|
|
||||||
|
`adb pull {{path/to/device_file_or_folder}} {{path/to/local_destination_folder}}`
|
||||||
|
|
||||||
|
- Copy a file/folder to the target device:
|
||||||
|
|
||||||
|
`adb push {{path/to/local_file_or_folder}} {{path/to/device_destination_folder}}`
|
||||||
|
|
||||||
|
- Get a list of connected devices:
|
||||||
|
|
||||||
|
`adb devices`
|
||||||
|
|
Loading…
Add table
Reference in a new issue