Post Reply

[Guide][Help] Play Store error -24: What is it and how to solve it

OP Quinny899

3rd December 2012, 06:02 PM   |  #1  
Quinny899's Avatar
OP Recognized Contributor
Flag Bolton le Sands, Near Lancaster, UK
Thanks Meter: 3,926
 
6,300 posts
Join Date:Joined: Jan 2011
Donate to Me
More
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
Code:
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
Last edited by Quinny899; 3rd December 2012 at 06:06 PM.
The Following 171 Users Say Thank You to Quinny899 For This Useful Post: [ View ]
4th December 2012, 05:48 AM   |  #2  
prboy1969's Avatar
XDA: ASSIST
Recognized Contributor
Flag Michigan
Thanks Meter: 6,954
 
10,227 posts
Join Date:Joined: May 2009
More
Great write up man .

TEAM MiK
MikROMs Since 3/13/11
The Following User Says Thank You to prboy1969 For This Useful Post: [ View ]
17th January 2013, 07:34 AM   |  #3  
t0ny0's Avatar
Senior Member
Flag Atlanta, GA
Thanks Meter: 354
 
971 posts
Join Date:Joined: Jul 2008
More
you just saved me Thanks a bunch!
The Following 2 Users Say Thank You to t0ny0 For This Useful Post: [ View ]
28th February 2013, 10:54 AM   |  #4  
SynnyG's Avatar
Senior Member
Flag Strasbourg
Thanks Meter: 177
 
647 posts
Join Date:Joined: Jan 2013
Donate to Me
More
F*ck, you're a genius man, many thanks to you !
The Following User Says Thank You to SynnyG For This Useful Post: [ View ]
4th March 2013, 02:32 AM   |  #5  
nimrodity's Avatar
Senior Member
Thanks Meter: 1,173
 
4,342 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Thx so much, you really saved me with your guide!!!
9th July 2013, 07:09 PM   |  #6  
n1nj4Lo's Avatar
Senior Member
Flag Atlanta
Thanks Meter: 221
 
1,620 posts
Join Date:Joined: Aug 2008
More
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...
15th August 2013, 05:24 AM   |  #7  
Junior Member
Thanks Meter: 2
 
2 posts
Join Date:Joined: Apr 2012
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??
The Following 2 Users Say Thank You to St.Valkyrie For This Useful Post: [ View ]
6th September 2013, 05:27 PM   |  #8  
SahilC's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 879
 
1,998 posts
Join Date:Joined: Jun 2012
More
Hey guys, I did this, but it still isn't working. Any help?

Nexus Prime, powered by CyanogenMod and LeanKernel.
24th September 2013, 01:38 AM   |  #9  
Junior Member
Thanks Meter: 1
 
10 posts
Join Date:Joined: Feb 2013
More
It keeps saying that no such file or directory exists.... I have my phone plugged in, debugging is on, and I open ADB in command prompt...
The Following User Says Thank You to wholocked10 For This Useful Post: [ View ]
27th September 2013, 06:06 PM   |  #10  
jazz5008's Avatar
Member
Flag Chandigarh
Thanks Meter: 3
 
32 posts
Join Date:Joined: Feb 2012
More
Thanks

The Following User Says Thank You to jazz5008 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
-24, error, play, solution, store
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android General by ThreadRank