REQUEST DENIED with Google Places API KEY for Server Web used in an Android application

前端 未结 3 1692
渐次进展
渐次进展 2020-11-30 14:11

I\'m trying to get info from the API of Google Places for an Android application. To do that, first I have enabled this API in my Google Account.

3条回答
  •  不知归路
    2020-11-30 14:57

    The problem is that you are not using the Google Places API for Android, you are using the Google Places API Web Service.

    Here is an example of using Google Places API for Android, and here is an example of using the Google Places API Web Service. You are definitely using the latter.

    Enable the Google Places API Web Service and it will work:

    If you go to this link while signed into your Google Cloud Console account: https://console.cloud.google.com/apis/library?filter=category:maps

    This is the API that should be enabled:

提交回复
热议问题