Copy the vold.conf onto the out/target/product/generic/system/etc directory might help. I believe that the "vold.conf" is located under <mydroid>/development/data/etc/ directory.
It seems to work for me. Please confirm if it also works for you. Cheers, Neil --- On Thu, 7/23/09, Mike Lissner <[email protected]> wrote: > From: Mike Lissner <[email protected]> > Subject: [android-porting] Re: how to detect sdcard in built emulator > To: "android-porting" <[email protected]> > Date: Thursday, July 23, 2009, 5:24 PM > > Strange, I'm having a similar problem. On the emulator, I > just tried > to install an app from a website, and it said I need the sd > card to > install it. > > I had started the emulator with -sdcard sdcard.iso, so I > thought it > was there, but apparently it's not. > > If I do: > adb push *.txt /sdcard > > ...it gives me the following error: > failed to copy 'testfile.txt to '/sdcard/testfile.txt': > Read-only file > system > > Any ideas? > > > > On Jun 10, 7:19 pm, ming <[email protected]> > wrote: > > see thishttps://review.source.android.com/Gerrit#change,9452 > > > > On Apr 29, 8:42 am, wangjun796 <[email protected]> > wrote: > > > > > 1. mksdcard 128M d:\sdcard.iso > ---------create a sdcard img > > > 2.emulator-sdcard d:\sdcard.iso > ---------startingemulatorwith > > > sdcard img > > > 3.adb push *.mp3 /sdcard > ----------copy files > you want > > > to sdcard > > > > > On 4月28日, 下午5时21分, Jaewon <[email protected]> > wrote: > > > > > > Hi all. > > > > > > I tested inserting sdcard image on already > built android SDKemulator. > > > > It works. > > > > > > But when I test it on myemulatorwhich is > built with downloaded > > > > source. > > > > The option like this '-sdcard mysdcard' > doesn't detect sdcard image. > > > > > > Anyone know about this? > > > > > > Thx. > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
