Google Maps Android API v2: Failed to Load Map. Could not contact Google Servers

前端 未结 7 840
梦毁少年i
梦毁少年i 2021-01-18 05:29

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 everythi

相关标签:
7条回答
  • 2021-01-18 06:06

    Here's another thing to watch out for: I registered the same SHA1 hash with two different API projects. (Yes, I know this is silly, but I was experimenting with different ways to fix a problem.)

    I mention this here, because you may have everything properly configured but you have MORE THAN ONE key for your project on Google's API console. (Here's hoping this silly mistake doesn't happen to you.)

    0 讨论(0)
  • 2021-01-18 06:08

    Did you solve the problem? May be this is the problem ->

    Wrong service was enabled. Make sure the "Google Maps Android API v2", not "Google Maps API v2" is enabled and re-generate the API key. (https://stackoverflow.com/a/13805807/1300982)

    If this is the problem, do not forget to Regenerate the API Key.

    0 讨论(0)
  • 2021-01-18 06:11

    If you are using Xamarin remember to create the API key using the debug.keystore stored in:

    Windows users: C:\Users[USERNAME]\AppData\Local\Xamarin\Mono for Android\debug.keystore

    OSX: Users/[USERNAME]/.local/share/Xamarin/Mono for Android/debug.keystore

    0 讨论(0)
  • 2021-01-18 06:17

    I had the same problem. I was using google maps api v1 key. I swithced it with google maps android api v2 key and problem solved.

    0 讨论(0)
  • 2021-01-18 06:27

    I had the same problem and nothing worked. Then I have found Google Play Services in the Application Manager and cleared the data. Suddenly new API key started working!

    0 讨论(0)
  • 2021-01-18 06:29

    Make sure a different key is generated for different applications..

    0 讨论(0)
提交回复
热议问题