upload picture to emulator gallery

前端 未结 8 1007
闹比i
闹比i 2020-12-02 20:12

I want to add picture in emulator\'s gallery. But i am not able to do this. How to do this? any clue! Though i have gone through a answer posted in stack over flow but didn\

8条回答
  •  被撕碎了的回忆
    2020-12-02 20:53

    Check this Once you have a virtual SD card in your emulator, if you're not comfortable with mtools or if you don't know how to mount a loopback device on Linux (which is really easy by the way), just use adb push to upload your images. Possible example:

    adb shell mkdir /sdcard/Pictures
    adb push mypic.jpg /sdcard/Pictures
    

提交回复
热议问题