| | Re: Cm7 Google play issues
 Originally Posted by LaFlamme The dreaded "package file is invalid" error, how I loathe it. I always find away around it, but it seems no solution works twice in a row. Lately, deleting "Google Play Services" does the trick, most likely because it frees up space somewhere. Occasionally, I'll just delete one of the bigger apps stored internally. That often does the tric, and I can reinstall the app with Titanium later with no problems. Very irksome error, this one. Sometimes clearing cache and Dalvik is enough to fix it. Deleting 01mvdalvik from system/etc/init.d did the trick on one occasion. Some people swear that partitioning the SD card will end the package file error for good, others say it will not. If anyone finds a clear solution, I'd love to hear it.
While I don't have any proof, I have come to believe that the package file invalid error comes to be when any of the Cache partitions are full.
The one at fault 90% of the time? Dalvik cache.
When you install an app, there becomes a file in the Dalvik cache that always has to be there. When you install enough apps, the Dalvik cache fills up and even when wiped, will repopulate with all the cache files from installed .apks.
What I did:
I used the A2SD++ which moves Cache, Dalvik Cache, apps, and apps private to the SD-ext.
This eliminated 100% of the errors for me.
It's all about giving the Dalvik cache enough room for your installed apps.
| |
|