I am working on google maps and I am getting this error. I had done the following things:
Got My sha1 fingerprint.
Registered my project and
you may need to add new SHA-1 Certificate fingerprints to your API key application restrictions page:
to generate a SHA1 Certificate fingerprints for your debug build, use keytool of java jre as the following example command:
C:\Program Files\Android\Android Studio\jre\bin>keytool -list -v -keystore C:\Users\linhd\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android