我编写了一个 Xamarin Google Apps V2 应用程序。我要部署到的设备安装了 Google Play 服务。
该应用程序已在 API 控制台中全部正确设置,几个月前我已经让该应用程序正常运行。
目前,当应用程序部署到我的设备时,我在应用程序输出中收到以下错误:
[Google Maps Android API] Authorization failure. Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map.
[Google Maps Android API] Ensure that the following correspond to what is in the API Console: [My API key data]
[Google Maps Android API] Failed to contact Google servers. Another attempt will be made when connectivity is established.
[Google Maps Android API] Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).
我没有更改几个月前运行时的代码,但是,正如您在上面看到的,Google map 组件未正确加载。
为什么会这样?过去几个月 Google API 有变化吗?我怎样才能让它工作?
提前致谢
最佳答案
这个问题的答案解决了我的问题。我遇到了完全相同的问题!
关于android - Google Maps Android API 授权失败 - 这项服务在过去几个月内有变化吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23466789/