Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

Nikhil picture Nikhil · Sep 16, 2011 · Viewed 28.9k times · Source

I get the error mentioned in the title when I run my app on the emulator. While creating it, I had given a sufficient space.

How can you fix this?

My log file:

[2011-09-16 09:28:17 - Trivia] Performing nik.trivia.Splash activity launch
[2011-09-16 09:28:17 - Trivia] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'work'
[2011-09-16 09:28:17 - Trivia] Uploading Trivia.apk onto device 'emulator-5554'
[2011-09-16 09:30:54 - Trivia] Installing Trivia.apk...
[2011-09-16 09:30:56 - Trivia] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
[2011-09-16 09:30:56 - Trivia] Please check logcat output for more details.
[2011-09-16 09:30:56 - Trivia] Launch canceled!

Answer

Niranj Patel picture Niranj Patel · Sep 16, 2011

you need to increase virtual memory of emulator

How to increase virtual memory of emulator

\\emulator -avd "Emulator Name" -partition-size 500

after then try to install your apk

if any doubt then see all comment of this question