Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE? during running emulator

跟風遠走 提交于 2019-12-05 02:10:27
Niranj Patel

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 you got any error then see conversation of this question

I've had the same problem but on my phone (not emulator) when developing.

To solve it when it happens I go into Settings->Applications->Manage Applications -> The app I'm working with and press Force Close, after that it works. For me this error occurs every 4-5 build, but using the Force close strategy makes it bearable (I used to restart the phone).

Phone: Sony Ericsson Xperia Ray.
**Android Version: 4.0.3
Development Environment: Eclipse Ingido

An Android virtual device provides per default only 64M for the storaging Android applications. You can clean your installed application by re-starting the emulator and selecting the "Wipe user data" flag.

also you you can edit the emulation data partition size permanent through avd manager -> emulator name -> edit -> hardware -> Ideal size of data partition = "2048"

If You are Installing the application to the Emulator then Some times it happend. I face same Problem and i have solve it by my way.

In my Problem, I have install the application in emulator that is larger as like more then 10mb. And After that, i am going to Install another Application to that emulator and got this error..

Sollution:

I have just Restart the Eclipse that will erace all unwanted Memory and will get refresh to install the new Application.

Note: Its only works for some Normal perpose. as like to get error after installing another application. . .etc. Otherwise follow CapDroid's answer. Thanks.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!