Skip to content Skip to sidebar Skip to footer

Expanding The Size Of An Android Virtual Device (emulator) Instance?

On a relatively new emulator image (AVD) I have about 40mb of free space. How can I expand this? UPDATE: Just to be clear... I'm talking about the 'Internal phone storage' size, no

Solution 1:

I think:

$ emulator -partition-size <numberofmegabytes>

is what you're looking for. I tried a few different values in the emulator and the "internal phone storage" setting seemed to reflect the values I passed in.

Solution 2:

If you're talking about the SD card size, I believe you'll need to make a new SD card file of a larger file, then load your AVD using the new SD card you've created. They have instructions on how to create an SD card (and load it into an AVD) here: http://developer.android.com/guide/developing/tools/emulator.html#creatingm

Essentially, make the SD card:

$ mksdcard <size><file>

Then load it into your emulator using the -sdcard argument:

$ emulator -sdcard <filepath>

Post a Comment for "Expanding The Size Of An Android Virtual Device (emulator) Instance?"