Google Maps Showing Blank Screen
You will need to add the SHA1 fingerprint for the debug keystore for each dev machine you use to your API key in the developer console.
In addition to that, once you're ready to make a signed release build, be sure that you use the SHA1 fingerprint for your release keystore in the API key that goes into the release version of the google_maps_api.xml
file. See here for more info.
Solution 2:
Try installing google play services through android sdk and try again.
This might help How to download Google Play Services in an Android emulator?
Solution 3:
In my case, the problem was the API key I guess. As soon as I changed my API key with a new one that I generated the map was back online.
Solution 4:
This issue is because of API key .
Steps :
- Go to your Google API Dashboard .
- Navigate to credentials ,
- look for Android key (auto created by Google Service) .
use this key in your manifest.xml
Solution 5:
if you use avd(Android virtual device) for your app, in some case, it will be not working
use real device it works for me
I use googlemap fragment in main activity extends appcompatactivity it works!
Post a Comment for "Google Maps Showing Blank Screen"