Quick Tip: Increase the storage size of your Android Emulator

Circuit board and shield icon on blue background with digital code

Are you tired of getting this error?

This happens when you’re testing your App on your Android Emulator. After a couple runs, the virtual device runs out of space, and you have to start deleting apps…pretty annoying.
Well, it’s easy to fix. It’s just a matter or increasing the storage size of your virtual device. First off, you need to know the name of the virtual device you are using. Assuming you’re running on OSX, Go to your terminal and type:

$ [[path-to-android-sdk]]/tools/android avd

This will show you a window with all the AVDs (Android Virtual Devices) you have configured. Find the one you’re using and write down its name.
Next, go back to your terminal and type

$ open -a TextEdit ~/.android/avd/[[name of your avd]].avd/config.ini

This opens TextEdit with the AVD’s configuration file. Now look for and change or add this line


And that’s it. You’re set!

Previous articleConsuming Web Services
Next articleBeginners: Javascript Objects and Arrays


  1. I agree with A. User’s comment above. There is no reason not to have this handled with the CLI and wired to the GUI in Titanium Studio.

  2. This didnt work for me.
    I still get the error. I didnt have the name in the first place so added it.
    Not sure if Ive got an old SDK or something.

  3. Didnt work for me either.
    This did work:
    Open AVD ($ [[path-to-android-sdk]]/tools/android avd)
    click on the AVD, and click Edit.
    In the section Hardware: click New and add ‘Ideal size of data partition’, it gets added to the list with a value of 0. Change it to 512MB or something else. If you don’t type MB, but for example 512m, it will change back to 0.
    Save, now the line disk.dataPartition.size=512MB is added to the config file, so manually typing that might also work.


Please enter your comment!
Please enter your name here