adb: add push, pull and devices commands (#1166)
This commit is contained in:

committed by
Waldir Pimenta

parent
b9fded2e16
commit
1928329a65
@@ -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`
|
||||||
|
Reference in New Issue
Block a user