将文件从模拟器驱动器复制到 SD 卡

发布于 2024-08-27 00:58:31 字数 70 浏览 3 评论 0原文

我了解了如何在模拟器中安装 SD 卡,但我不确定如何在用户数据映像和 SD 卡映像之间来回移动文件。有人可以告诉我该怎么做吗?

I see how to mount an SD card in the emulator, but I'm not sure how you move files back and forth between the userdata image and the SD card image. Can someone tell me how to do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

<逆流佳人身旁 2024-09-03 00:58:31

我想到的第一个想法是首先将数据从 userdata 映像文件传输到本地文件系统,然后从本地传输回 SD 卡映像。

adb pull /data/data/com.example.sample ./sample/
adb push ./sample/ /sdcard/sample/

希望我正确地解释了你的问题。

The first thought that comes to my mind is to first transfer the data from the userdata image file to local filesystem and then transfer back from local to sdcard image.

adb pull /data/data/com.example.sample ./sample/
adb push ./sample/ /sdcard/sample/

hope I interpreted your question correctly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文