其他分享
首页 > 其他分享> > android – 错误此API项目未被授权使用此API.请确保在控制台中激活此API

android – 错误此API项目未被授权使用此API.请确保在控制台中激活此API

作者:互联网

我创建了一个使用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密钥.我的问题是如何激活我的API?或者它应该被购买?

解决方法:

我得到了解决方案我想在我的Android应用程序中显示我所在位置周围最近的地方.我在google api console中使用我的gmail帐户创建了浏览器api密钥.我做错了启用android google places api.请不要启用它而是启用Google Places API Web服务.这就是我解决问题的方法.任何Q都准备回答

标签:android,google-maps,google-places-api,android-maps
来源: https://codeday.me/bug/20190711/1436989.html