【问题标题】:Having issues in my API?我的 API 有问题?
【发布时间】:2018-07-05 12:20:14
【问题描述】:

我使用这个库编译

'com.github.jd-alexander:library:1.1.0'

但有时会出现这个问题

“google api 配额超出”

这个问题在我的所有应用程序中发生了一天。谁能解决这个问题?

【问题讨论】:

标签: android google-maps google-api google-api-client


【解决方案1】:

Google-Directions-Android 中所述,您必须提供自己的 api 密钥。

Routing routing = new Routing.Builder()
                    .travelMode(/* Travel Mode */)
                    .withListener(/* Listener that delivers routing results.*/)
                    .waypoints(/*waypoints*/)
                    .key(/*api key for quota management*/)
                    .build();
        routing.execute();

存在与 google maps api 相关的配额限制。如果你执行了他们,你会得到 ​​p>

“google api 配额超出”

通过启用计费usage and billing 可以增加一些配额,然后您将被收取任何使用费用。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-05-03
    • 2017-07-28
    • 2019-12-05
    • 2021-08-02
    • 2019-01-24
    • 2020-09-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多