Google Maps Android API 授权失败 - 此服务在过去几个月中是否发生了变化? [英] Google Maps Android API Authorization failure - has this service changed in the last few months?

查看:31
本文介绍了Google Maps Android API 授权失败 - 此服务在过去几个月中是否发生了变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个 Xamarin Google Apps V2 应用程序.我要部署到的设备已安装 Google Play 服务.

I have coded a Xamarin Google Apps V2 application. The device I am deploying to has Google Play Services installed.

该应用程序已在 API 控制台中全部正确设置,几个月前我曾让该应用程序运行.

The application has all been setup correctly in the API console and I have had this application working before, months ago.

目前,当应用程序部署到我的设备时,我在应用程序输出中收到以下错误:

Currently, when the application is deployed to my device, I am getting the following errors in the Application output:

[Google Maps Android API] 授权失败.请参见https://developers.google.com/maps/documentation/android/start如何正确设置地图.

[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] 确保以下对应的是什么位于 API 控制台中:[我的 API 密钥数据]

[Google Maps Android API] Ensure that the following correspond to what is in the API Console: [My API key data]

[Google Maps Android API] 无法联系 Google 服务器.其他建立连接后将进行尝试.

[Google Maps Android API] Failed to contact Google servers. Another attempt will be made when connectivity is established.

[Google Maps Android API] 加载地图失败.联系 Google 时出错服务器.这可能是身份验证问题(但可能是由于网络错误).

[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 地图组件没有正确加载.

I have not changed the code from months ago when it was working, yet, as you can see above, the Google Maps component is not loading correctly.

为什么会这样?在过去的几个月中,Google API 是否发生了变化?我怎样才能让它工作?

Why would this be? Has there been a change to the Google API in the last few months? How can I get this working?

提前致谢

推荐答案

这个问题的答案解决了我的问题.我遇到了完全相同的问题!

The answer from this question solved my problem with this. I had the exact same issue!

谷歌地图突然无法使用

这篇关于Google Maps Android API 授权失败 - 此服务在过去几个月中是否发生了变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆