Ongoing issue . . . INSTALL_FAILED_INSUFFICIENT_STORAGE
Ever since I updated to the latest Titanium SDK 1.4.1.1, I keep getting these insufficient storage errors. I only have the Kitchen Sink app on my Android Emulator and I have installed apps of 1mb - 30mb. No matter what the size, even 1mb, I get these errors while developing. This was supposedly fixed a couple of sdk's ago.
I don't know if this is an Android issue or a Titanium issue, but nonetheless, it is an issue.
The only solution I have found is to go into settings uninstall the most recent app and then reinstall it again via Titanium Developer. These is a very inefficient use of time and very frustrating to have to uninstall every time I want to test a single change in the app.js.
This happens every time I update an app unless I do the aforementioned.
On another note, I noticed that when the apps are being updated by relaunching from Titanium Developer after an update, the size of the app "almost" doubles even if only one word changes in the app.js file. I say "almost" because I noticed that its usually closer to 80-90% larger than the original file size.
Shouldn't it be "replacing" the app and not "adding" to it at the very least? Ideally, it would look for differences between the new app and the original and only update what has changed. Just my two cents.
5 Answers
-
Use SD Card: android:installLocation="preferExternal". Read more: Installing android apps to the SD Card
-
How I finally solved this thing is by increasing the internal storage of the emulator. Here is an article about how to do that. I have to mention that at first it didn't work only with the instructions from the article. What worked for me was opening the AVD Manager, selecting the android virtual device I was having problems with, Edit, then going to Harware,New, selecting Property Ideal size of data partition. Then adding 512MB (very important 512MB not 512) to its value.Edit AVD and launch the app on this emulator again. The internal storage of the emulator should be now 512MB.
-
1.4.1.1 was an iPhone only release, it has none of the fixes and features since 1.4.0 for Android. Have you checked the settings area for the amount of free memory on the emulator?
-
Anyone fixed this? My app isn't that big but i need it to work in the emulator so i can debug it.
-
Go to your android SDK location folder and go into folder "tools" type android avd to launch android virtual devices manager, then locate the emulator wich has the same name than the one you use when you have the error.
Delete it and close avd.Clean then rebuild projet. You should be good now.