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

前端 未结 3 1681
渐次进展
渐次进展 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:56

    For an easier way try latest GCM configuration file implementation and easily create project using their developer interface.

    Enable Google services for your app

    0 讨论(0)
  • 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:

    0 讨论(0)
  • 2020-11-30 15:10

    From the documentation:

    Note: You need an Android API key, not a browser key. You can use the same API key for your Google Maps Android API v2 apps and your Google Places API for Android apps.

    Check this for more help.

    0 讨论(0)
提交回复
热议问题