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. 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:
- 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 Twitter app again without getting the dreaded insufficient storage error message being displayed to me. I also repeated the same process for Facebook and was able to successfully install the app again.