【问题标题】:Google Maps Geolocation API for Android适用于 Android 的 Google Maps Geolocation API
【发布时间】:2014-10-12 12:45:12
【问题描述】:

我想在 Android 应用程序中使用 Google Maps Geolocation API。我按照说明操作并收到此错误:

httpResponse : {
    "error": {
        "errors": [
            {
                "domain": "usageLimits",
                "reason": "accessNotConfigured",
                "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
            }
        ],
        "code": 403,
        "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
    }
}

我正在使用 Android 密钥访问 API,但我在 documentation 中发现:

点击创建新的浏览器密钥创建新的服务器密钥,然后 按照提示进行操作。

那么,我们可以使用带有 Android 密钥的 Google Maps Geolocation API,还是真的需要浏览器或服务器密钥?

编辑:这是我的使用限制。

【问题讨论】:

标签: android google-api


【解决方案1】:

好的,我明白了。我创建了一个允许任何引用者的浏览器密钥并且它有效。无法使用 Android 密钥访问 Google Maps Geolocation API

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-08-11
    • 1970-01-01
    • 2016-06-10
    • 2014-11-05
    • 2013-07-15
    • 2011-09-04
    • 2016-10-22
    • 2017-12-29
    相关资源
    最近更新 更多