[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
Samsung Galaxy S4 - Google Play Edition
Galaxy Nexus - Retired
HTC Sensation 4G - Sold
MyTouch 4G - Sold
HTC HD2 - Sold
T-Mobile G2 - Sold
Nexus One - Sold
Viewsonic G-Tablet - Sold
HTC G1 - Eaten by my dog..
Samsung Vibrant - Sold
Samsung Nexus S - Sold
LG G2x - Sold (Warning! Crappy "phone")
If you think that I, or anyone else helped you, dont hesitate to hit the "THANKS" button. Thats why its there for .
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 [Sky Note Air G2 N3 4.3]
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??
There are plenty of ways to get your contacts to show up on your … more
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?