Push files/directories into emulator/device
In order to put files or directories into emulator/device, you need to issue command “push” from adb with following syntax:
adb push [local_path] [remote_device_path]
Here a sample if I want to put a file named ‘data.txt‘ into my folder in device: ‘/data/data/pete.android.study‘, I issue this command
adb push C:\data.txt /data/data/pete.android.study
To check whether the file pushed into devices succeeded or not, I will try:
If file ‘data.txt‘ appears, then it was pushed inside successfully.
Hope you like it!