【发布时间】:2015-07-02 19:06:12
【问题描述】:
我在 android 应用程序中使用谷歌地方,我收到此错误
{
"error_message" : "This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: Learn more: https://code.google.com/apis/console",
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}
我尝试过使用 Android 密钥、浏览器密钥和服务器密钥,但这不起作用请帮助我,我不知道密钥有什么问题...!! 请帮我 我使用的网址是:
https://maps.googleapis.com/maps/api/place/search/json?radius=50&sensor=true&key=<my key>&location=22,75
【问题讨论】:
-
@DanielNugent 仍然遇到同样的错误
-
您是否在开发者控制台中启用了
Google Places API Web Service? -
你的链接现在对我有用,所以我想你的问题已经解决了。以后再也不要发布您的 API 密钥。
-
是的,它现在也对我有用,thanx @DanielNugent 你帮了我很多,我欠你的,
标签: android api google-api google-places