Skip to content Skip to sidebar Skip to footer

Google Maps Android V2 Authorization Failure

I am testing the sample google code on an actual device having 2.3.6.I thought it might be the problem with the key ,so I created different key on a different account through Googl

Solution 1:

Solved it.Very stupid mistake on my part.Used wrong api key.Was using the api key for the signed app.Replaced it with api key for debug keystore and solved the problem.

Solution 2:

Had the same problem and @Sunkenglory 's answer is right, just to add some info for newbies like myself when I was looking for a solution.

On mac osX, my debug keystore was located here:

~/.android/debug.keystore

Go to that folder and run the following

keytool -list -v -keystore debug.keystore

That gave me the correct sha1 that I entered in the google console, and now it works.

Post a Comment for "Google Maps Android V2 Authorization Failure"