谷歌地图API第2,什么是限制,创造新的Andr​​iod地图键(S),并添加应用程序,以单键地图、单键、应用程序、Andr

2023-09-07 01:19:55 作者:英文

我有一个关于谷歌地图API V2两个查询:

I have two queries regarding google maps api v2:

其一谷歌API控制台的帐户,并在其一个项目

For one google api console account and in its one project

什么是最大限度地创造新的Andr​​oid键(S)为谷歌 地图API V2。 什么是最大限制添加应用程序(SHA1证书 指纹和包名每行(用分号隔开)) 内部采用一键编辑允许Android应用程序 what is the maximum limit for creating new android key(s) for google maps api v2. 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'

目前,我有方案,在那里我有围绕内单映射键中的所有加载正确的设备映射108应用程序添加。但是,如果我添加更多的应用程序映射不加载设备上只显示空白的灰色屏幕,缩放和当前位置的按钮。

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).

我在同一个项目中创建新的Andr​​oid按键,并试图使用新地图的关键,但其仍具有相同的上述问题。我验证SH1指纹,包名,签名密钥和地图密钥都是正确的。

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.

推荐答案

我有多数民众赞成目前正在成功使用的3应用程序,使用 com.google.android.gms.maps 1释放键。 GoogleMap的。我创建了一个新的应用程序,使用一个不同的包名称,但相同的密钥和证书;包的名称已经被添加到谷歌控制台...但地图是灰色的。

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.

的释放键是正确的,因为它的工作原理为其他应用程序和清单中的重要的东西是一样的其他应用程序,包括 com.google.android.maps.v2.API_KEY - 我不明白为什么这是行不通的。

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.

很沮丧。