I was recently having issues with updating both Facebook and Twitter apps on my Oppo Find 5 running AOKP 4.4.2, Android was complaining about insufficient storage, yes the “insufficient storage available” error. So, I installed LogCat and tried installing Twitter (in this instance) again and then trawled through the log for something suspisious. I came across the following:
04-15 13:27:00.660 W/NativeHelper(731): Could not delete native binary: /data/app-lib/com.twitter.android-1/libtwittermedia.so
04-15 13:27:00.660 E/PackageManager(731): Cannot rename native library directory /data/app-lib/vmdl354040019 to /data/app-lib/com.twitter.android-1
Ah-ha, so it’s not an error due to insufficient storage, it’s actually a problem with deleting some native binary and not being able to rename a library directory. So, here’s how I fixed the problem (note - your Android phone will have to be rooted in order to follow these steps):
- Ran Sliding Explorer with SU (SuperUser) permissions
- Navigated to the FileSystem (right swipe menu)
- Navigated up to the root folder (up arrow)
- Went into ‘data/app-lib’ folder.
- Scrolled down to the ‘com.twitter.android-1’ directory
- Went into the directory and deleted the ‘libtwittermedia.so’ file
- Went back, then deleted the ‘com.twitter.android-1’ directory
- Exitted theSliding Explorer application
After that I was able to install the Android Twitter app again without getting the dreaded insufficient storage error message being displayed to me. I also repeated the same process for Android Facebook app and was able to successfully install it again.
UPDATE (25-Apr-2014) - there is an app on the Google Play store that will do this for you, it’s call InsuFixer. Again, your phone will need to be rooted in order to use this app.