Reputation: 47514
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, not the SD Card size.
Upvotes: 13
Views: 19477
Reputation: 52002
I think:
$ emulator -partition-size <number of megabytes>
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.
Upvotes: 33
Reputation: 87420
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>
Upvotes: -2