Google Maps Android v2 Authorization failure

僤鯓⒐⒋嵵緔 提交于 2019-12-01 21:43:30

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!