This IP, site or mobile application is not authorized to use this API key - Android

android, google-maps-android-api-2, google-places, google-places-api

Solution

You must be creating a browser key instead of an android key. I faced similar problem when I accidentely created an android key for Google Cloud Messaging instead of a server key. Please check which key is required for your purpose. For google maps v2 you need android key and for google places api you need a server key(searched google but not so sure on this one never used it). So basically you need two keys.

Update: You need server key for places api.

Problem

I have a problem with connection with Google maps API V2 and Android. I' ve enabled services: - Google Maps Android API v2 - Places API Also I've added sha1 fingerprint. But I still get this message: This IP, site or mobile application is not authorized to use this API key I'm calling service from Android. Do you know where might be the problem, cause I don't know where to search.

Original source

Related problems