[app name] could not be downloaded due to an error – Google Play Fix

I’ve been messing with Android MODs recently – I’m currently running CyanogenMod 7.1 Bravo Stable (CM7) on my HTC Desire (GSM) and apart from the slightly inferior camera – it’s great.

I had to reinstall it recently and got an error with Google Market/Play Store after I had finished the install, and hunted high and low for a fix. I found plenty of people having the problem but not many with a solution.

This is what worked for me:

“Go to settings->applications->manage applications and scroll down to ‘market’ and ‘clear data’ then scroll down to ‘google services framework’ and ‘clear data’ then reboot you’re phone and that’s it enjoy.”

It will also fix ‘Google Talk Authentication Failed’ error.

That is all.