如何使用adb命令来推动文件的设备,而SD卡 [英] how to use adb command to push a file on device without sd card

查看:265
本文介绍了如何使用adb命令来推动文件的设备,而SD卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从计算机中的文件推到有没有在它的SD卡上的Andr​​oid设备。我想:

  C:\阿南德>亚行推anand.jpg /数据/本地
3399 KB /秒(在0.032s 111387字节)

C:\阿南德>亚行推anand.jpg /数据/ OPT
3199 KB /秒(在0.034s 111387字节)

C:\阿南德>亚行推anand.jpg /数据/ tmp目录
3884 KB /秒(在0.028s 111387字节)
 

上述命令将文件 anand.jpg 移动设备,但我没有得到这个 JPG 文件装置。 我没有得到的命令提示符任何成功的结果,我只得到了:

  3399 KB /秒(在0.032s 111387字节)。
 

解决方案

从Ubuntu的终端,下面为我工作。

  ./亚行推/home/webonise/Downloads/one.jpg''/数据/本地/
 

How to push a file from computer to a android device having no SD Card in it. I tried:

C:\anand>adb push anand.jpg /data/local
3399 KB/s (111387 bytes in 0.032s)

C:\anand>adb push anand.jpg /data/opt
3199 KB/s (111387 bytes in 0.034s)

C:\anand>adb push anand.jpg /data/tmp
3884 KB/s (111387 bytes in 0.028s)

above commands to move a file anand.jpg to device but I didn't get this jpg file in the device. I didn't get any success result on cmd prompt, I only got:

3399 KB/s (111387 bytes in 0.032s).

解决方案

From Ubuntu Terminal, below works for me.

./adb push '/home/webonise/Downloads/one.jpg' '/data/local/'

这篇关于如何使用adb命令来推动文件的设备,而SD卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆