gpt4 book ai didi

android - 错误此 API 项目无权使用此 API。请确保此 API 在控制台中已激活

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

我创建了一个使用 Google Places API 的 android 项目。一旦我发送最近地点的请求,就会收到此错误:

Error This API project is not authorized to use this API. Please Ensure this API is activated in the Console

我已经为 Android 启用了 Google Places api,并且正在使用浏览器 API key 。我的问题是如何激活我的 API?还是应该购买?

最佳答案

我找到了解决方案。我想在我的 android 应用程序中显示我所在位置附近最近的地方。我在 google api 控制台中使用我的 gmail 帐户创建了浏览器 api key 。我在启用 android google places api 时犯了错误。请不要启用它,而是启用 Google Places API Web Service。这就是我解决问题的方式。任何问题都准备好回答

关于android - 错误此 API 项目无权使用此 API。请确保此 API 在控制台中已激活,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37729568/

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