Android – INSTALL_FAILED_INSUFFICIENT_STORAGE

If you work with the Android Emulator and deploy to it for a while you may receive the following error message in the LogCat View.

Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

The reason for this is that the emulator default to 64MB for internal storage.

You can override this in the Eclipse launch configuration for your Android application with the additional parameter -partition-size 1024.

Alternative you can add the following line to the “config.ini” file of you AVD definition. This file is stored in the user folder in .android/avd and then under your specific device definition. For example:

hw.lcd.density=160
sdcard.size=200M
skin.name=HVGA
skin.path=platforms/android-15/skins/HVGA
hw.cpu.arch=arm
abi.type=armeabi-v7a
hw.cpu.model=cortex-a8
vm.heapSize=48
snapshot.present=true
hw.ramSize=512
image.sysdir.2=system-images/android-15/armeabi-v7a/
image.sysdir.1=add-ons/addon-google_apis-google_inc_-15/images/armeabi-v7a/
disk.dataPartition.size=1024

I hope this helps. I have also ask the Android development team to increase the default value: Bug report.

About Lars Vogel

Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences, He is the primary author of vogella.com. With more than one million visitors per month this website is one of the central sources for Java, Eclipse and Android programming information.
This entry was posted in Android and tagged , . Bookmark the permalink.

One Response to Android – INSTALL_FAILED_INSUFFICIENT_STORAGE

  1. Rohan DMello says:

    Thanks a lot Lars. This did help me a lot, as I was struggling to get two of my apps running on AVD.
    You could have different section called ‘Android Tips and Tricks’. Just a thought.

Comments are closed.