[Guide][Help] Play Store error -24: What is it and how to solve it
This is a common error that occurs with the Play Store sometimes after flashing ROMs without wiping data, or with an incomplete un-installation (apk corruption, etc.)
What is it?
Basically, there is some app data left behind from a previous installation of the app. The Play Store sees that data when trying to install the app and throws a -24 error, because it doesn't know what to do with it.
So, how do you solve it?
Simple to fix:
(I'm assuming you're rooted, chances are you are if you get this error)
- YOU'LL LOSE YOUR DATA FOR THAT APP (You would have done anyway, if it was uninstalled properly) -
1.) Using a root file manager, go to /data/data
2.) Find the package name of the app you're wanting to install
(Don't know the package name? Find the app you're wanting to install on the Play Store online and it's in the URL)
3.) Delete that folder. All of it.
4.) Try to install your app again, it should work now
5.) If you like, hit the thanks button
If you're unrooted, you can try this:
Run this in adb
adb shell rm -R -f /data/data/<packagename>
Replace <packagename> with the package name of your app (if you don't know it, see above)
If that doesn't work, a factory reset is your only option, sorry
I did all that but am still getting the same error with Beautiful Widgets, I just upgraded from 4.1.2 to 4.2.2, any other advice...
My owned smartphone list order:
(Went to the darkside.... Still waiting for my cookies!!)
Dell Streak (Mini) 5
Samsung Galaxy Note 2 (Finally got my cookies | i317 on T-Mobile)
Using HTC HD2 - [Windows Mobile 6.5 Stock, Ubuntu and MccMBoXMaX SD] - Dell Streak (Mini) 5 [LXdroid 0.2] - Samsung i317 [DN3 v4B 4.4.2]
My device (Galaxy S4) is unrooted and i never root or install any custom rom on this device so i use the adb shell and enter the above command,
i get rm failed for /data/data/com.miui.mihome2, Permission denied
Any other suggestion or advice??Is factory reset the only option??
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?