对于google maps api v2,创建新的android maps关键字并将应用程序添加到单个关键字的限制是什么 [英] For google maps api v2, what is the limit for creating new android maps key(s) and adding applications to single key

查看:72
本文介绍了对于google maps api v2,创建新的android maps关键字并将应用程序添加到单个关键字的限制是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个有关google maps api v2的疑问:



对于一个google api控制台帐户及其一个项目


  1. 为Google创建新的Android密钥的最大限制是什么?
    maps api v2。

  2. 什么是最大限制用于添加应用程序(每个行使用SHA1证书
    指纹和包名称(用分号分隔))
    使用'编辑允许的Android应用程序'在一个密钥内

目前我有一个场景,我在单个地图中添加了大约108个应用程序,所有这些应用程序都在设备上正确加载地图。但是,如果我添加更多的应用程序地图不会加载在设备上,只需显示带缩放和当前位置按钮的空白灰色屏幕即可。



在日志中显示此消息

无法联系Google服务器。连接建立后将进行另一次尝试。
无法加载地图。联系Google服务器时出错。这可能是一个身份验证问题(但可能是由于网络错误)。



我在同一个项目中创建了新的Android密钥,并尝试使用新的映射钥匙,但它仍然具有相同的问题。我验证了SH1指纹,包名,签名密钥及其映射密钥都是正确的。



我在谷歌地图文档和任何相关问题中搜索了很多与此相关的内容,但didn找不到任何信息。

解决方案

我有1个释放键,目前已被3个使用 com的应用成功使用。 google.android.gms.maps.GoogleMap 。我创建了一个新的应用程序,它使用不同的包名称,但使用相同的密钥和凭据;软件包名称已添加到Google控制台中......但地图是灰色的。 b
$ b

发布密钥是正确的,因为它适用于其他应用程序,清单的重要内容与其他应用程序相同,包括 com .google.android.maps.v2.API_KEY - 我不明白为什么它不起作用。

最初我创建了一个新的密钥,但是这并不起作用,因此我尝试了上面的方法,因为它已经过了尝试和测试。



注意:我清除了缓存并从设备上卸载了应用程序,但仍然没有运气。

非常令人沮丧。

I have two queries regarding google maps api v2:

For one google api console account and in its one project

  1. what is the maximum limit for creating new android key(s) for google maps api v2.
  2. what is the maximum limit for adding applications (SHA1 certificate fingerprint and package name (separated by a semicolon) per line) inside one key using 'Edit allowed Android apps'

Currently i have scenario, where i have added around 108 application inside single maps key all are loading maps properly on device. But if I add any more applications maps are not loading on device just showing blank gray screen with zooming and current location buttons.

In logs its shows this messages

Failed to contact Google servers. Another attempt will be made when connectivity is established. Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).

I had created New Android Key in same project and tried to use that new maps key, but still its having same above issue. I verified SH1 fingerprint, package name, signing key and its maps key all are proper.

I had searched lot related to this in google maps documentation and any related issues but didn't find any information.

解决方案

I have 1 release key that's currently successfully being used by 3 apps that make use of com.google.android.gms.maps.GoogleMap. I've created a new app that uses a different package name but the same key and credentials; the package name has been added to the Google console... yet the map is grey.

The release key is correct as it works for the other apps and the important stuff for the manifest is the same as the other apps including the com.google.android.maps.v2.API_KEY - I don't understand why it does not work.

Initially I created a new key but that didn't work hence why I tried the above approach that should work as it's been tried and tested.

Note: I've cleared the cache and uninstalled the app from the device but still no luck.

Very frustrating.

这篇关于对于google maps api v2,创建新的android maps关键字并将应用程序添加到单个关键字的限制是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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