Google Places API为Android应用提供异常无效的Api密钥

时间:2014-06-03 07:47:07

标签: android google-places-api

在我的Android应用程序中,我添加了谷歌api v2显示地图,这工作正常,现在我想使用Places API显示附近的位置。我已添加服务,并使用下面的网址

https://maps.googleapis.com/maps/api/place/search/json?location=22.7253,75.8655&radius=500&sensor=true&types=bar&key=mykey   

但它给出了回应 -

{  "error_message" : "This IP, site or mobile application is not authorized to use this       API key.",
     "html_attributions" : [],
     "results" : [],
     "status" : "REQUEST_DENIED"
}

所以为什么suce错误是return.where我失踪了。 提前谢谢。

0 个答案:

没有答案