一位谷歌地图密钥为所有开发人员? [英] One Google Maps key for all developers?

查看:91
本文介绍了一位谷歌地图密钥为所有开发人员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在我们的应用程序中使用谷歌MapView的,但在不同的电脑,我们必须用不同的API密钥,否则图形页面不显示任何内容。

有没有一种方法来设置一个键为所有开发人员?

解决方案
  

有没有一种方法来设置一个键为所有开发人员?

有关调试签名密钥,复制调试密钥库(例如,〜/ .android / debug.keystore )的开发PC之间,并记得要更新所有的人再次当密钥库过期。

有关制作签名密钥,复制开发计算机的生产密钥库。

请注意,我没有尝试过复制的Windows和非Windows(OS X和Linux)之间的密钥库,所以我不知道是否有任何可能的问题,有排队的结局相关。

We are using a Google MapView in our application but on different computers we must use different API keys, otherwise the MapView doesn't display anything.

Is there a way to set one key for all developers?

解决方案

Is there a way to set one key for all developers?

For the debug signing key, copy your debug keystore (e.g., ~/.android/debug.keystore) between developer PCs, and remember to update all of them again when that keystore expires.

For the production signing key, copy the production keystore between developer PCs.

Note that I have not tried copying keystores between Windows and non-Windows (OS X, Linux), so I don't know if there are any possible issues there related to line endings.

这篇关于一位谷歌地图密钥为所有开发人员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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