Android – error this API project is not authorized to use this API. Please make sure to activate this API in the console

I created an Android project using Google Places API. Once I send the nearest place request, I receive this error:

I have enabled the Google Places API for Android and am using the browser API key. My question is how to activate my API? Or should it be purchased?

resolvent:

I got the solution. I want to display the nearest place around my location in my Android application. I created a browser API key in Google API console using my Gmail account. I made a mistake to enable Android Google Places API. Please do not enable it, but enable Google Places API web service. This is my way to solve the problem. Any q is ready to answer

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>