android 无法将文件推送到SD卡中
我想在 SD 卡中插入图像,我正在尝试通过命令行
adb push a.png/sdcard/a.png
但它不起作用,我什至在 ddms 中看不到任何 SD 卡。
I want to insert images in sdcard, I am trying through command line
adb push a.png/sdcard/a.png
But it's not working, I can't even see any sdcard in ddms.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查您的 SD 卡是否未作为外部磁盘安装在您的 PC 上。如果是这样的话,难怪你不能通过Android写入它。
Check if your sdcard isn't mounted as external disk on your PC. If it's the case, no wonder you can't write to it through Android.
创建avd的同时创建一个sdcard。
create an sdcard while creating avd.