Google Maps does not open after the app is launched

0

I'm using the Google Maps Android API, but it's not working when I send the app to Google Play. In the debug it works normally and when I run the application through Android Studio too, but when I launch the application to the Playstore it does not open the maps in which I make the requests. I uploaded the app yesterday, and there in the statistics of the google console until it shows that the request was made (see the image below), however, apparently did not open the map.

Has anyone ever come across this situation?

    
asked by anonymous 02.08.2016 / 20:41

2 answers

1

Cleidimar,

You need to create the Release HASH Key, you probably just created the debug.

There you change the ip that the hash returns, and you have two, one development and one production.

Hugs.

    
02.08.2016 / 21:09
0

I was having this problem and I managed to resolve it. I just needed to open AndroidMainifest and change the part where the maps API is requested. Instead of entering the key using string, I typed the direct key. It looks like this: Before:

<meta-data-->
            android:name="com.google.android.geo.API_KEY"
            android:value="@string/google_maps_key" />

Then:

<meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="digitei a API KEY aqui" />
    
07.01.2018 / 13:38