dhulihan
dhulihan

Reputation: 11303

Android: Change Emulator's SD Card

Is it possible to make changes to the sdcard being used in an Android Emulator? For instance, I'd like to change the size of the SD card being used in the emulator.

Upvotes: 5

Views: 2252

Answers (2)

Ryan Conrad
Ryan Conrad

Reputation: 6900

In the avd directory, which is in the following location:

Windows:
%userprofile%.android\avd\<avd-name-here>

There is a file called sdcard.img. you can replace that with the new image file.

you can create a new sdcard image file by using mksdcard in the android-sdk/tools

usage: mksdcard [-l label] <size> <file>

Upvotes: 6

iandisme
iandisme

Reputation: 6406

The only way I know of to do this is to open the AVD manager create a new Android Virtual Device with a bigger/smaller SD card size. AFAIK, there's not a way to change the size of a device after it's been created - at least, not through Eclipse.

Upvotes: 0

Related Questions