I had a working google maps v2 application, but due to certain circumstances, I had to change my debug keystore. I have, of course, added the new SHA-1 fingerprint to the allowed Android device list in my Google API account.
The map no longer displays, only the zoom and center buttons on a grey background appear. The following errors pop in ADB logs :
05-21 18:11:42.903: I/Google Maps Android API(15747): Failed to contact Google servers. Another attempt will be made when connectivity is established.
05-21 18:11:43.093: E/Google Maps Android API(15747): Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).
I have browsed several similar questions here on stackoverflow, but none seem to solve my own problem.
Here is what I have done/checked :
- Add the new SHA-1 fingerprint to my original API key allowed Android devices
- Create a new API key with the new SHA-1 fingerprint
- Clear application data according to this post
- Uninstall and install application again
- Install on a brand new device
- Check, double check and update Google Play library dependency
- Check that "Google Maps Android API v2" service is enabled in my Google API account
I'd like to add that my old application version with the original debug keystore still works correctly.
Any help is appreciated. Thanks !