Fix Android Error Install_Failed_Insufficient_Storage

Are you tired of error message “Install_Failed_Insufficient_Storage” while installing app on your Android device? Do not worry, today in this post we will troubleshoot this error message. Please follow the steps carefully to fix Install_Failed_Insufficient_Storage error.

Practical Scenario:

After the latest oxygen os update, I keep getting the error code INSTALL_FAILED_INSUFFICIENT_STORAGE every time i’m trying to deploy and debug my apps. At the beginning, with a simple device restart, I could install and debug, but the problem was keep coming back because for some reason the device wouldn’t delete the one of the 2 app’s apk while trying to install the update (In data/app/<>-1/2). But now I keep getting this error, even after restarting the device, deleting manually the app, uninstalling it with adb shell. I can’t install and debug any of my apps anymore. I still have 20GBs free in my storage, so this isn’t a direct fix/solution. Does anyone of you guys know any possible solution to this?

Solutions to Fix Install_Failed_Insufficient_Storage Error

Step 1: Backup Android Data

Before trying any steps to fix the error, it is recommended to backup your Android data like pictures, videos, audio, messages, files etc. because during troubleshooting you might lose your data. You can use any Android backup app such as Helium App, Dropbox, Google Drive etc. or you can backup your data manually to your PC. Follow the Steps to Backup Android Device Data manually.

Step 2: Restart Your Android Device

Most of the time a simple restart of your device may fix the problem, its worth a try to reboot your device once or twice to get rid of the error message. If the issue still persists after restart, move on to the next step.

Step 2: Delete APK Files

Go ahead and uninstall the App first

Find APK files in File Manager, if you do not find it, install apk manager from Google Play Store and run it, it should automatically find the apk on your device and give you the option to delete it. Below is the apk files which you need to delete.



Step 3: Add android:installLocation attribute

In your AndroidManifest.xml file add android:installLocation=”preferExternal” within your manifest tag. Visit this link to find out where to find AndroidManifest.xml file.





Now open Settings, select Storage and the tap on Cached data to clear cache data for the apps, now restart your device.

Step 4: Increase Android Emulator’s Memory Capacity

  • Make a right click on root of the Android Project, select Run As and then go to Run Configurations…
  • Find Android Application node in the tree at the left, select the project and go to the Target tab
  • Down you will find Additional Emulator Command Line Options and paste -partition-size 1024 there.
  • Hit Apply and then Run.

Step 5: Perform Factory Reset

If none of the steps mentioned above fix the Install_Failed_Insufficient_Storage error then performing factory reset is the last option left to fix this error message.

To perform Factory Reset of your Android device open Settings, select Backup & Reset or Factory Data Reset and then tap Erase Everything. Please note that Factory Reset will lose all the data stored on your Android device.

In case, you lose data while factory reset , you can always recover the lost data using Android Data Recovery Software, with the help of Android Data Recovery Software you can recover your lost pictures, videos, WhatsApp messages, call logs, documents audio files etc. Visit this link to follow the guide to recover lost data from Android phone. Both Windows & Mac versions are available to download.

Translate »