开发者

Copying files from emulator drive to sd card

开发者 https://www.devze.com 2022-12-24 04:19 出处:网络
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?T

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

精彩评论

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

关注公众号