How to add an image to the emulator gallery in android studio?

后端 未结 11 1681
囚心锁ツ
囚心锁ツ 2020-12-13 05:38

I am developing an image filter app. But can\'t really try it if i don\'t have any images.

I know that i can test it in the phone, but it\'s not the same, since I n

11条回答
  •  忘掉有多难
    2020-12-13 06:12

    It's a very old question but I will answer this for future references.

    To add any file to emulator just drag and drop the file.

    The file will be copied to downloads folder of internal storage.

    To access the file

    Go to settings

    Click On Storage & USB

    Click On Internal Storage

    Click On Explore (at the end)

    and you got it in the downloads folder

    now you will get notification to setup virtual SD card, follow the setup. after the successful setup you will be able to see pictures in gallery.

提交回复
热议问题