Sunday, May 27, 2012

INSTALL_FAILED_INSUFFICIENT_STORAGE error solution



This error you will get from the "logcat" of eclipse. The main reason of this error is the storage of emulator. So, if there have shortage of space in emulator you will get this error. 


To solve this problem you have to increase the storage of emulator. So, here the way to do that.


1.  Right click the root of your Android Project, go to "Run As" then go to "Run Configurations..." locate the "Android Application" node in the tree at the left, then select your project and go to the "Target" tab on the right side of the window look down for the "Additional Emulator Command Line Options" field (sometimes you'll need to make the window larger) and finally paste "-partition-size 1024" there. Click Apply and then Run to use your emulator.


2. Go to Eclipse's Preferences, then Select “Launch” Add “-partition-size 1024” on the “Default emulator option” field, then click “Apply” and use your emulator as usual.


3. Emulator -avd "Emulator Name" -partition-size 500


4. You can also free up memory by removing unwanted apps go to settings->application->manageapplication then uninstall the apps which is useless.


5.  Also you can resolve by having android:installLocation="preferExternal" for <manifest> tag of manifest file.


No comments:

Post a Comment