Push file to device
adb_pushPush a file from the server to an Android device via ADB, overwriting any existing file with the same name.
Instructions
Copy a file from the server's file roots (file_roots) to the device, overwriting a file of the same name there. To install an APK use adb_install instead. The reverse is adb_pull.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial from adb_devices. Optional when exactly one device is connected. | |
| host_path | Yes | Absolute path of the file on the server, inside file_roots. | |
| device_path | Yes | Destination on the device, e.g. /sdcard/Download/file.apk or /data/local/tmp/. |