Google Maps V2 not working in production with correct key

后端 未结 8 1253
野性不改
野性不改 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:48

    error //Ensure that the "Google Maps Android API v2" is enabled. In this u can't find like Google Maps Android API v2 in Google Cloud Platform Console.in this, give the exact Package Name: and signature of your project which is showing in run window or debug window , I faced the same problem because of changing MapActivity package location I struggled to find this whole day so make sure whether u changed any packages inside project if so give package which is showing in error text emphasized text Ensure that the following Android Key exists: API Key: YOUR_KEY_HERE Android Application (;): ;com.mike.mapstest

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题