user3130417
user3130417

Reputation: 223

Authentification failed with Google maps API ( Android )

i have a problem of authentification with the Google Maps service API, i followed the documentation here , i configured really well my API key, i started a new Application with googleMap Activity, i replaced the values string with the API key, and i run the application in my mobile phone who has google services. each time i see in the log the same problem

01-01 21:59:12.110 21943-21993/? I/b: Sending API token request. 01-01 21:59:42.225 21943-21993/? E/b: Authentication failed. Timeout while trying to contact the server.

Upvotes: 1

Views: 2379

Answers (2)

marius
marius

Reputation: 637

It happened to me once the app was perfectly configured. So it was already working. The problem was solved restarting the device as some upgrading was taking place in the system and it needed to reboot to finish.

Upvotes: 3

Punit Sharma
Punit Sharma

Reputation: 2947

Don't forgot to enable the map services in google console !!

If you say everything is correct ,Try uninstalling and reinstalling the application. because apparently if you make one mistake on the configuration the system caches the failed authentication and your maps won't work even after fixing your configuration.

So try following the docs and guides on configuring Google Maps Api on Android but every time you change something on your configuration uninstall and reinstall.

Upvotes: 0

Related Questions