Wednesday, April 10, 2013

[android help] Google Maps Android API v2: Failed to Load Map. Could not contact Google Servers


I'm trying to use Google Maps Android API v2, and I have already created the SHA1 key from my release cert.


I've read the comments from here and have made everything right, including the permissions for READ_GSERVICES which wasn't stated in Google's instructions here


However I'm still having the error of



E/Google Maps Android API(12334): Failed to load map. Could not contact Google servers.


Can anyhow enlighten me if I still have something left out?


I've included this as well:



android:name="com.example.permission.MAPS_RECEIVE"
android:protectionLevel="signature"/>



and



android:name="com.google.android.maps.v2.API_KEY"
android:value="my_api_key"/>


in my applcation tag.


UPDATE: Just Managed to remove that error, realied that I typed my READ_GSERVICES wrongly.


However, now I'm having this problem:



01-24 16:58:08.628: E/Google Maps Android API(28025): Authorization failure.


What is causing this problem? my SHA1 is obtained from my release cert, is that wrong?



.

stackoverflow.comm

2 comments:

  1. I am having the same issue using the google sample code for the google maps for android

    ReplyDelete

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...