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进入查看确认

 

posted @ 2015-01-13 11:17  melody_emma  阅读(194)  评论(0编辑  收藏  举报