Home > Android, Android how to, Tools > Creating SDCard for Android emulator

Creating SDCard for Android emulator

We moved. Please visit this link for this post.




There are 2 ways how to create SDCard


Android SDK contains tool which called mksdcard. This tool helps with this process. It works from command line.


mksdcard [-l label] <size>[K|M] <file>

-l – A volume label for the disk image which need to create

size – An integer value which specify size of image. It is possibility to specify size in kilobytes or megabytes. Examples:  1024K or 1M

file – The filename/path of the disk image

Ok. Now we know all parameters and can create needed disk image.

Just type command which is below with your parameters.

I used:

mksdcard -l sdCard 128M C:\sdCard.iso


Android SDK also contains android tool.

android create avd -n <avd_name> -t <targetID> -c <size>[K|M]

-n – name of created emulator

-t – target ID of emulator instance. Type

android list targets

and you will find out which target IDs are allowed

-c – size of created SDCard

In my case I type:

android create avd -n MyEmulator -t 1 -c 10M

What I did. I create emulator instance called MyEmulator with SDCard image which has 10 megabytes.

As you can see it is very simple operation.

Is this information useful for you? Leave the comment.

Categories: Android, Android how to, Tools
  1. November 6, 2009 at 4:24 am

    Just grabbed the feed… thanks for posting this.

    • November 6, 2009 at 9:31 am

      You are welcome. I hope that my next posts will also useful for you.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: