开发者

Copying files from emulator drive to sd card

I see how to mount an SD card in the emulator, but I'm not sure how you move files b开发者_如何学Goack and forth between the userdata image and the SD card image. Can someone tell me how to do this?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜