瀏覽代碼

adb: add push, pull and devices commands (#1166)

Eric Rösch 8 年之前
父節點
當前提交
1928329a65
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      pages/common/adb.md

+ 12 - 0
pages/common/adb.md

@@ -17,3 +17,15 @@
 - Push an Android application to an emulator/device:
 
 `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`