rtchagas / pingplacepicker

An almost plug and play replacement for Google's Place Picker
Apache License 2.0
142 stars 55 forks source link

Google Maps Android API: Authorization failure - no maps #13

Closed ardevd closed 5 years ago

ardevd commented 5 years ago

Trying to get this to work.

I've supplied an android key and a geolocation api key and it seems to work fine except for the fact that the actual map doesnt show. logcat shows the following:

Google Maps Android API: Authorization failure
05-18 21:07:47.652  8888  8973 E Google Maps Android API: In the Google Developer Console (https://console.developers.google.com)
05-18 21:07:47.652  8888  8973 E Google Maps Android API: Ensure that the "Google Maps Android API v2" is enabled.
05-18 21:07:47.652  8888  8973 E Google Maps Android API: Ensure that the following Android Key exists:
05-18 21:07:47.652  8888  8973 E Google Maps Android API:   API Key: AIza<redacted>-2rbZITE9iwI
05-18 21:07:47.652  8888  8973 E Google Maps Android API:   Android Application (<cert_fingerprint>;<package_name>): <redacted>
05-18 21:11:43.283  8888  8888 I [Koin]  : bind type:'com.rtchagas.pingplacepicker.repository.googlemaps.GoogleMapsAPI' ~ [type:Single,class:'com.rtchagas.pingplacepicker.repository.googlemaps.GoogleMapsAPI']

What am I missing?

ardevd commented 5 years ago

Fixed it after enabling Google Maps SDK and adding fingerprint to Android key.