First of all, make sure you have uninstalled the applications that you are getting the error. To do this go to "Settings" -> "Manage Applications" and see if they are listed. If so, click on its name and click the button "Force stop" if active, then the button "Clear Data", then the button "Clear Cache" and finally the "Uninstall" button. This is the first thing to do, but more importantly comes next.
Your mobile phone must be "rooted" to take the following steps:
1. Install the Root Browser application or any other file manager that allows root access.
2. Open the Root Browser application and go into the folder / data / data. It will ask you to grant superuser permission. In that folder are looking for applications that are giving you the error 24 when wanting to install. For example, in my case to Facebook com.facebook.katana I deleted the folder and deleted the com.google.android.maps Google Maps folder. If another application that gives you trouble, you just have to find his name among those folders and delete it.
3. Reinstall the application that gave you problems from Google Play. If all goes well, he will not leave the error.
24 This error occurs because traces of application data that we had installed in the old ROM. What we do with the procedure referred is clear these ancient traces for the application to be installed from scratch.