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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2021-08-25
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
猜你喜欢
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-11
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案