Play Store 4.9.13 insufficient storage error and icon issues
I've been having issues with the Play Store's recent 4.9.13 update on my Blu Dash 4.5. Every time I try to install or update any app that is more than 1 MB, I keep getting an "insufficient storage" error, even though I have about 120MB on the apps partition free. Apps do install and update on an older version, however. In addition, the icons on the Play Store have weird black borders. I have searched all over the internet and I have yet to find a solution for either of these problems. Apparently, most devices affected by these bugs are using MediaTek chipsets and have Android 4.2 on them. My phone is using the stock ROM and is not rooted.
You definitely got a more updated version of play store than what I have.. The version I have is 4.8.20.... How did you update the play store app??... One suggestion to... Can you do a force `uninstall updates` which is located on Settings>Apps>ALL and select the Play Store. See if reverting back helps. And if so I'd say there is a pretty bad bug within that version.
The correct answer to this problem, and I always see wrong explanations, is that you have a duplicate /data/app-lib folder for the app or apps that are giving you that error.
To fix: Using adb, terminal, or root explorer:
compare /data/app to /data/app-lib
you will see, for example:
So for 1st example remove directory: /data/app-lib/example-app-2
and for 2nd example remove directory: /data/app-lib/example-app-1
Then your app will install just fine!
ALWAYS REMEMBER TO KEEP THE SAME NUMBERS,
IF THE APK IS 1 REMOVE 2... IF THE APK IS 2 REMOVE 1!
Yes, that is the problem with this bug... I am just explaining what causes that `insufficient space` warning. For some reason, when apps update, sometimes Play Services does not remove the app-lib directory for that app. It happens to me quite a bit. And that is how to I fix it.
I don't think there is anyway to remove the folder without root. However until Google fixes the Bug, I would try to get the app's apk... asking for the app's apk online or if you already have it, I would suggest trying to install with adb, except use `adb install -r application.apk` the `-r` flag is reinstall. Check when `Play Services` was last updated and version, as it may be Play Services not Play Store causing the left behind `app-lib` folders. Then, I would get the apk for previous `play services` or `play store` and use it. That won't remove the `app-lib` folder but will prevent more.
@SudoSURoot So in a normal case we are looking at this scenario (using the nexus5 - hammerhead): `[email protected]:/data/app # ls | grep -i vending com.android.vending-1.apk [email protected]:/data/app # ls ../app-lib | grep -i vending com.android.vending-1` @Crayon Will try out our play store update and see if I can replicate the issue myself.
There is actually an app to fix this, which removes all extra /data/app-lib folders, but it needs root access. It is created by Jrummy apps, and the apk download is located at: http://jrummy-apps.com/faqs/ and click/look under section titled `Google Play gives an 'Insufficient Storage Available' error`
@Rushnosh just to be sure you understand, it is not Play Store having extra /data/app-lib folder, but the app giving the `insufficient storage` error. And yes that is a way to find the problem app-lib. On the second grep it would show `com.application.name-1` and `com.application.name-2`. I just installed the app from my comment from above, as I usually just use `adb shell rm -rf /data/app-lib/com.application.name-1` (whichever is extra, 1 or 2), and the app is simple, hit a button it removes all extras and tells which were removed. I had one currently and didn't even know it.
OK... So in the ctsao68 case the app which is referring to "File Manager". Yep got it... So steps to replicate (I dont think I can since I have alot of space on my phone, but will try anyways)... * Install PlayStore Update (com.android.vending-4.9.13.apk) * Attempt to install anything above 1MB ... Or try File Manager * See results - adb shell commands
I build system ROMs daily and saw the error quite a few times, and from browsing my system all of the time, I just noticed that the apps which were having this error had duplicate app-lib folders. Later I found the app I posted in comment above, by jrummy apps, that fixes it in one click. The problem has been fixed though I believe, in the newest play store app with KitKat, because I haven't seen the issue in a while and I was able to delete that app. I had filed a Bug Report, but haven't checked the status. But it seems to be fixed now. Anyway, thanks for the recognition.
@SudoSURoot Do you trust this app from jRummy? and which app is it? I can't find it.
Well it doesn't matter now anyway, I looked on the device and I don't have any files as you describe.
@Seth to answer your question anyway, I absolutely trust the app from JRummy. I reverse engineered the app back into java, and it does just what I explained. Second, JRummy is an excellent, well known, programmer. I've used the app myself, and he is the creator of ROM Toolbox Lite, ROM Toolbox Pro, Root Browser, ROM Installer, Build Prop Editor, and a lot more great apps that almost every root user uses... See Here: (https://play.google.com/store/apps/developer?id=JRummy+Apps+Inc.) However, if you are running the newest Play Store (might have to be on KitKat or above) the issue has been fixed.
Provided that the device is not rooted - will a factory reset delete these folders?
I have this error on Android 4.0.4, where there is no app-lib folder in the first place. The jrummy app tells me I have no problems, but I do (can't update the app, and if I delete it, I can't install it back). I have plenty of phone storage and SD storage. The problematic apps are not even in /data/app.
You probably solved this, but for others, or if not: No /data/app-lib folder on 4.0.4? What about `/data/app/com.example-app-name-1` or `/data/data/example-app-name.com-1`? I didn't start building Android until 4.2 so I do not know that much about the file structure of 4.0.4. Look for any folders with a 1 & 2 suffix with the same app name. If you have busybox, which includes find command you can do: `find /data -type d -name *-1` Then look for duplicates. If you still cannot find the issue, let me know and I'll look back at the old code, to see the file structure.
First of all this is a bug somewhere on play store side so I think we can only get a work around not an actual solution, said that I solved freeing more space than it would be theoretically needed, using old version of play store works too.
As for how much space is needed I don't have a clear answer because my phone (also on android 4.2.1 and MTK based) is rooted and I symlinked some apps to a different partition to be able to use more than 1.5GB as internal storage (that's data size partition in my phone). So I think this causes some problems on size estimation because Manage apps says I have 491MB free (correct)
but Settings->Storage says I have 195MB Available (not correct).
You can try removing some apps, I think 180MB free should do.
As for the black border I've had that problem since some months, I didn't dig much on the issue but I think they changed image format (new one is webp) and the transparency layer is not working well in our phones.
This version is out one month already but updates roll out not at the same time for everybody, if you want to try it you can update it manually downloading the apk from a trusted source like: http://www.androidpolice.com/2014/07/22/google-play-store-update-4-9-13-adds-material-design-app-and-content-pages-apk-download/
For images problem look here: https://productforums.google.com/forum/m/#!topic/nexus/tw1FebzJQng Looks like from Google the only answer is to ask manufacturer to update to KitKat.
@SudoSURoot I had that problem before, with something not being cleaned up, but it's not the current problem I am having with this play store version. I checked all possible duplicates that can be in: app-lib, app, dalvik-cache and I had none. The only two ways i was able to update was using an old version or freeing more space. The only key was app size and free space available. (can't comment in the other answer)
It works for me buddy. However, you have to uninstall more depending on your storage capacity. For example, my capacity is 2GB and the minimum allowance or free space left required to download is 160MB. If it's below 160MB (memory or no. of installed apps) you get an "insufficient storage error." Even if you download 1MB app and installed it onto the storage with 159MB of free space left and it will not install it until you have to either free memory cache or uninstall app at lest 1 MB.
Try uninstalling the updates to put Google Play Store back to factory version, disconnect your connection, then set "Do Not Update" in Play Store settings.
My problem is fixed but I have an old version of Google Play. But I can update my application.
Solution for this issue is to move some apps to the phone storage or sd card and not in the internal storage; like you go to phone or mobile settings>apps>go through each app that you installed if there is a button that says "move to phone storage" or "move to sd card" click on it,in this way application will be moved out from internal storage because most of the times playstore identifies storage of apps are on internal storage not on the phone storage or sd card eventhough you have plenty of memory storage on your phone or card so that may be the reason why you have insufficient memory storage..
Download the apk for 4.8 from android police, decompile, change package name, compile, install. I don't think it would be able to update then. You'd have two play stores, keep the original and wait for an update that fixes it, but use the other one in the mean time. I hope this helps.