简体   繁体   中英

“Failed to load map. Error contacting Google servers.” problems with 1 pc

We a using Google Maps Api on a school project. I get the error message "Failed to load map. Error contacting Google servers."

The strange thing it's only on my copy of the app. If i build/run the app on another PC it works - but not on mine. (We use the same code).

Does anyone have any clue on how to fix this? Yes I have used Google, and StackOverFlow. (They are not mention my issue).

This is an API-KEY authentication issue.

You need to get your SHA1 for this pc and put it in your Google developer console project. Or re-generate a new API key.

For more details, how to do it, please refer here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM