Skip to content Skip to sidebar Skip to footer

Google Maps Showing Blank Screen

I'm trying to display a google maps in a very simple application (a new project with just a google maps Activity) the manifest has the permissions:

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 :

  1. Go to your Google API Dashboard .
  2. Navigate to credentials ,
  3. look for Android key (auto created by Google Service) .
  4. 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"