5

How can the Android emulator's memory capacity be increased? I have a 16MB binary file which I have to parse. But when I execute a second time it says:

Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE.

Can anybody help please?

greatwolf
  • 20,287
  • 13
  • 71
  • 105
sajjoo
  • 6,576
  • 20
  • 65
  • 86
  • May want to look here: http://stackoverflow.com/questions/2239330/how-to-increase-storage-for-android-emulator-install-failed-insufficient-storag – Asahi Aug 11 '10 at 10:23
  • Also, bear in mind that Android devices have 16-24MB of heap space, and so you may not be able to parse that file in any case. – CommonsWare Aug 11 '10 at 12:16
  • @Commonsware require your help on this question: http://stackoverflow.com/questions/3584297/error-in-installation-of-an-application-on-sd-card-in-android-sdk-2-2 , please help me and catch me out – Paresh Mayani Aug 28 '10 at 06:50
  • http://stackoverflow.com/questions/7835609/android-4-0-emulator-out-of-space-error/7847148#7847148 – alejandrocordon Nov 24 '11 at 11:03

2 Answers2

9

To summarize (and clarify), in Eclipse, go to "run Configurations". You can find that by right clicking on your project and click on "Run" and then "Run Configurations". Select "target", and select a preferred emulator target to launch. Then under "additional emulator command line options," add this:

-partition-size 1024

then click on apply and run.

sajjoo
  • 6,576
  • 20
  • 65
  • 86
0

If you're targeting 2.2 platform you may force your app to install on SD card.

Konstantin Burov
  • 68,980
  • 16
  • 115
  • 93