tags:

views:

2287

answers:

1

HI,

I download and build android 1.5r3 source. I did 'lunch 1' and then 'make'.

And when it is done, I run my emulator like out/host/darwin-x86/bin/emulator -sdcard sd256m.img

But when I click 'Gallery', it said 'No Media Found'. I am sure the sd card i created (sd256m.img) has images in there.

Can you please tell me why I don't see any images in the sd card?

Thank you.

+1  A: 

How did you make that SDCard image file? Did you create it with the AVD tool or did you use mksdcard? Also, did you try it by specifying the full path to the sd256m.img file?

Links for posterity: Using SDCards with the emulator

MattC
i use the mksdcard tool.I have tried using full path as well. But that does not work either.
n179911
If you use adb to connect to the running emulator, are you able to see anything in the /sdcard directory?
MattC
no. I see a /sdcard directory, but it has nothing in it.
n179911
Ok, so if I understand this correctly then, you created the SD card image and at one point were able to mount it and put files on there? At some point the images were lost? Have you attempted to put more files on the SD card since then and see if they are accessible between emulator restarts?
MattC