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

user3013172 picture user3013172 · Apr 12, 2015 · Viewed 102.6k times · Source

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 need the error messages and other stuff.

I just want to access an image from the AVD's gallery so that I can test my app. How can I add one?

I am using Android Studio. I saw some examples on how to do it in Eclipse, but i am not using that.

So, how can I add an image to the emulator image gallery?

Answer

Mithilesh Izardar picture Mithilesh Izardar · Aug 3, 2016

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.