adb pull 与 push

 

adb pull <remote> <local>

Copies a specified file from an emulator/device instance to your development computer.

adb push <local> <remote>

Copies a specified file from your development computer to an emulator/device instance.

 

将桌面的文件push到SD卡的安装包目录下,

adb -s  **(设备名) shell 

cd sdcard

ls  查看有无该安装包目录   

cd  **  安装包目录名称

ls  可以查看该安装包目录下文件

再 adb  -s  ** push  c:\Users\**\Desktop\**(文件)   mnt\sdcard\**(安装包目录下)

复制成功会提示文件大小和复制时间,也可ls进入查看确认

 

你可能感兴趣的:(push)