gpt4 book ai didi

android - 为所有开发人员提供一个 Google map key ?

转载 作者:塔克拉玛干 更新时间:2023-11-02 07:53:47 26 4
gpt4 key购买 nike

我们在我们的应用程序中使用 Google MapView,但在不同的计算机上我们必须使用不同的 API key ,否则 MapView 不会显示任何内容。

有没有办法为所有开发者设置一个 key ?

最佳答案

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

对于调试签名 key ,在开发人员 PC 之间复制调试 keystore (例如,~/.android/debug.keystore),并记得在该 keystore 过期时再次更新所有这些 keystore 。

对于生产签名 key ,在开发人员 PC 之间复制生产 keystore 。

请注意,我没有尝试在 Windows 和非 Windows(OS X、Linux)之间复制 keystore ,所以我不知道是否存在与行尾相关的任何可能问题。

关于android - 为所有开发人员提供一个 Google map key ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7444392/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com