I am trying to use the Google Place autocomplete example from https://github.com/googlesamples/android-play-places .
I put the correct API key in the right place. I knew this because when I put a random string, an invalid API key, I get another error.
So, after entering the correct API key, I run the application on both the real device and the simulator. Both devices gave me this error:
Status {statusCode = PLACES_API_INVALID_APP, permission = null}
What causes this error and how to fix it?
android google-places-api
Aldian fazrihady
source share