0
votes
  • Developing an Android app locally using Android Studio 1.3
  • Small closed beta on Google Play Store One API key registered against this one app with two SHA1 keys - one local, and one for the release-signed APK using our organisation's Android keystore
  • Google Maps works locally while connected to the PC via Android Studio
  • Google Maps fails when downloaded via the Play store produces a blank grey map with Google logo with this error in logs

    5967-6038/? E/Google Maps Android API﹕In the Google Developer Console (https://console.developers.google.com)
    Ensure that the "Google Maps Android API v2" is enabled.
    Ensure that the following Android Key exists:
    API Key: YOUR_KEY_HERE
    Android Application (<cert_fingerprint>;<package_name>): 
    23:C9:76:CA:A6:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:91:9B:80:3F;org.bto.btapp
    
  • SHA1 keys registered against developer console: developer-console screenshot

  • Output from keytool (debug local) local-keystore-output

  • Output from keytool (release keystore used to sign APK on Play store beta) release-keystore-output

  • Have checked the obvious (am I using the correct API key)

Any ideas?

1

1 Answers

2
votes

Check whether you have copy pasted your API key in google_maps_api.xml in values folder. From the error log(i'm assuming), your API key is shown as "YOUR_KEY_HERE", that's exactly the default value in the file. Please check.

UPDATE
IMG

Open the google_maps_api.xml and paste your api key at "YOUR_KEY_HERE". That will do it.