Google Maps V2 not working in production with correct key

后端 未结 8 1268
野性不改
野性不改 2020-12-05 23:26

I\'m having major troubles getting Google Maps working in production within an Android app. This is what I am currently getting (the bottom is just ads).

8条回答
  •  抹茶落季
    2020-12-05 23:50

    When using Android Studio to generate the Google Maps Activity, it will ignore your gradle build configs and use the default debug.keystore. The SHA1 in google_maps_api.xml is based off of this default. When creating permission in the Google API console, make sure to use your production and debug SHA1 if you are using the non default.

提交回复
热议问题