emulator: WARNING: ignoring locked SD Card image

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

emulator: WARNING: ignoring locked SD Card image

Postby mathias.lin » Thu Sep 17, 2009 5:08 pm

I'm on WinXP, SDK 1.5.

When I start the emulator from command line, I get the following warning...
emulator: WARNING: ignoring locked SD Card image at D:\android-sdk-windows-1.5_r3\tools\sd256m.img
and the emulator starts, but the SD card is missing.

Even with a newly created SD card image (not used by any other process), I get the error. The file exists and has all read/write permissions.


I googled for that problem but only found a quick hint, but which doesn't really help me any further.
http://cheat.errtheblog.com/s/android/

If you get a warning that the SD card is locked, make sure:
"emulator: WARNING: ignoring locked SD Card image at"
Emulator has permissions to read/write the card file
Emulator has RWX access to the card file's directory
I had problems with the card file being on a FAT32 partition.
Moving it to ext3 or reiserFS worked.



Any knowing this problem?
User avatar
mathias.lin
Experienced Developer
Experienced Developer
 
Posts: 60
Joined: Tue Aug 11, 2009 4:21 am
Location: Guangzhou, China

Top

Postby mathias.lin » Fri Sep 18, 2009 2:36 pm

Somehow solved the issue with locked sd card image. I tried different things, one thing was changing the PATH environment variable from sdk1.5 to sdk1.6. I also created new AVD and SD card, but I thing mainly changing PATH to SDK 1.6 did it.
Strange through, since I always started the emulator directly from the tools directory of the sdk1.6.
Anyway, it's working now... can now continue with the important stuff...
User avatar
mathias.lin
Experienced Developer
Experienced Developer
 
Posts: 60
Joined: Tue Aug 11, 2009 4:21 am
Location: Guangzhou, China

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 5 guests