Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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, not the SD Card size.

like image 795
Jeremy Logan Avatar asked Dec 17 '09 18:12

Jeremy Logan


People also ask

How do I increase the size of my emulator disk?

On Android StudioClick Edit Icon to edit the AVD. Click Show Advanced settings. Change the Internal Storage, Ram, SD Card size as necessary. Click Finish.

How much RAM do I need for Android Emulator?

o Depending on your computer specs, the recommended ram size is in the range between 512 MB – 1024 MB. Although you can give more ram to the emulator but an actual android device would normally have 512 MB – 1024 MB for ram only.


1 Answers

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.

like image 159
Erich Douglass Avatar answered Oct 20 '22 20:10

Erich Douglass