Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE? during running emulator

[2011-07-22 16:33:02 - Today] ------------------------------
[2011-07-22 16:33:02 - Today] Android Launch!
[2011-07-22 16:33:02 - Today] adb is running normally.
[2011-07-22 16:33:02 - Today] Performing com.horror.android.today.myMain activity launch
[2011-07-22 16:33:02 - Today] Automatic Target Mode: launching new emulator with compatible AVD 'google09'
[2011-07-22 16:33:02 - Today] Launching a new emulator with Virtual Device 'google09'
[2011-07-22 16:33:10 - Today] New emulator found: emulator-5554
[2011-07-22 16:33:10 - Today] Waiting for HOME ('android.process.acore') to be launched...
[2011-07-22 16:34:07 - Today] HOME is up on device 'emulator-5554'
[2011-07-22 16:34:07 - Today] Uploading Today.apk onto device 'emulator-5554'
[2011-07-22 16:35:12 - Today] Installing Today.apk...
[2011-07-22 16:35:31 - Today] Installation error: **INSTALL_FAILED_INSUFFICIENT_STORAGE**
[2011-07-22 16:35:31 - Today] Please check logcat output for more details.
[2011-07-22 16:35:32 - Today] Launch canceled!

EDIT I solved on emulator but on device , what is the solution? I follow this question but sometimes thats not best idea for me.

like image 897
Horrorgoogle Avatar asked Jul 22 '11 10:07

Horrorgoogle


People also ask

How do I fix an error opening emulator?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

How do I increase my emulator storage?

On Android StudioClick Edit Icon to edit the AVD. Click Show Advanced settings. Change the Internal Storage, Ram, SD Card size as necessary. Click Finish.

How do I fix the emulator process for AVD has terminated?

1. Create any Emulator configuration in Device Manager, start it, won't start and terminates immediately. 2. Uninstall Android Emulator tools from SDK Manager, re-install the same tools, create emulator configuration, start the same, won't start and terminates immediately.

How do I turn off Android emulator?

Run and stop an emulator, and clear data To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data. Or click Menu and select Wipe Data.


3 Answers

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

like image 100
Niranj Patel Avatar answered Oct 24 '22 01:10

Niranj Patel


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

like image 23
OneMuppet Avatar answered Oct 24 '22 01:10

OneMuppet


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"

like image 22
neeraj t Avatar answered Oct 24 '22 03:10

neeraj t