android - 谷歌地图 API key

标签 android google-maps api-key

我的每个项目都需要一个新的 API key ,还是您只需要一个可以在任何项目中多次使用的 API key ?

最佳答案

每个 Google Maps API key 都与您用来签署应用程序的 keystore 相关联。因此,如果您使用相同的 keystore 为所有应用签名,则可以使用相同的 Maps API key 。

但我不建议您使用相同的 Maps API key 。因为现在 Google Maps API 不再完全免费。每个 Maps API key 每天限制查询。为每个应用创建不同的 Maps API key 是防止限制 Google Maps 查询的好方法。

关于android - 谷歌地图 API key ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8251618/

相关文章:

node.js - 如何使用node js从后端API请求apikey?

android - 谷歌地图不显示使用 flutter 的 Android

java - 向实体添加新字段

android - ListActivity 与 ListView

android - 使用/strings.xml覆盖res/values/strings.xml文件从服务器android下载到sd卡

javascript - 使用 onClick 事件显示不同的 map - Google map V3。

android - 错误 :Gradle: Execution failed for task ':app:crashlyticsCleanupResourcesDebug' . > Crashlytics 开发人员工具错误

javascript - 使用 Place 获取 Google map Place id

javascript - Google map 街景 View 信息 wIndows 在 map 上打开

google-maps - Google map 距离矩阵 REQUEST_DENIED