Hi All, I'm also facing the same issue.
1. mksdcard 2048M "d:\Program Files\myandroid\sdcard.img" 2. emulator -sdcard "d:\Program Files\myandroid\sdcard.img" While executing this second command I got warning message as "### WARNING: SD Card files must be at least 8 MB, ignoring 'd:\Program Files\myandroid\sdcard.img'" 3. adb push "E:\A.R Hits\airtel.mp3" /sdcard failed to copy 'C:\airtel.mp3' to '/sdcard/airtel.mp3': Read-only file system Please any body ready to share your knowledge. Past 1 day, I'm struggling with this issue. I've tried many ways but no use :( Thanks in advance!!! Thanks adgain! Yasmin On Oct 11, 4:25 pm, Ludwig <[EMAIL PROTECTED]> wrote: > The mksdcard utility creates the SD card image whereever you specify it. It > is just a normalxamp file on your host computer file system. The ls command > will show you when it has been created. At that point the emulator does not > know anything about it and you can create many SDCard images if you > want._After_ > it has been created you will need to start your emulator again with the > location where it is on your host file system. (I do not think it would auto > refresh this if it did not exist there in the first place). The emulator > will now mount the file on the host computer as a filesystem under /sdcard. > _Then_ your emulator has a writable file system under /sdcard (better use > the environment to get it as it could change for devices), so any push > operation will go to /sdcard/myfile. > > I can see in the example code below that you are trying to push with the > name of file on the host file system (D:...etc). That does not exist on the > emulator. The emulator has /sdcard/ etc. > > HTH. > > Ludwig > > 2008/10/10 guru <[EMAIL PROTECTED]> > > > > > > > I have been trying to push an mp3 file for quite a while but i am > > getting the error. > > > ----------------------------------------------------------------------------------------------------------------------------------------------- > > D:\android-sdk-windows-1.0_r1\tools>mksdcard 1024M sdcard.img > > > D:\android-sdk-windows-1.0_r1\tools>adb push D:/android-sdk- > > windows-1.0_r1/tools/anirudh.mp3 /sdcard > > 530 KB/s (0 bytes in 4031977.007s) > > > D:\android-sdk-windows-1.0_r1\tools>adb push D:/android-sdk- > > windows-1.0_r1/tools/anirudh.mp3 \sdcard > > failed to copy 'D:/android-sdk-windows-1.0_r1/tools/anirudh.mp3' to > > '\sdcard': Read-only file system > > > ----------------------------------------------------------------------------------------------------------------------------------------------- > > > When i see in the emulator,I dont see the file i have pushed.Thanks > > for your help. > > > Thanks > > Guru > > > On Sep 24, 2:50 pm, Sudha <[EMAIL PROTECTED]> wrote: > > > in addition to the above mail > > > > I tried to pull out the default image coming the camera > > > folder( apperas in the pictures in the emulator) and tried to push teh > > > same back to /sdcar/dcim/camera. > > > now also teh image appreas liek red block and blank screen when > > > selected.. > > > > Nothing is happening with the 1.0- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---