Google Places API"请求被拒绝"错误

ufd*_*per -1 android google-places-api google-places

我正在尝试使用以下内容在我的Android应用中调用Google地方信息API:https://maps.googleapis.com/maps/api/place/textsearch/xml?query = restaurants + in+Sydney &senns = true&key = AddYourOwnKeyHere

我尝试使用调试密钥,甚至尝试生成私钥,但我得到的只是REQUEST_DENIED响应.

我已按照提到的生成Android API密钥的步骤进行操作,但仍然是错误.

我错过了什么?我可以使用谷歌地方api在我的Android应用程序中使用权威指南吗?

您的建议将受到高度赞赏.

Tai*_*Dao 5

您正在为Android Place API使用Android密钥.
登录谷歌控制台,然后创建一个Place API密钥,再试一次. 在此输入图像描述 在此输入图像描述