Google map v2 doesn't work in play store

后端 未结 3 682
萌比男神i
萌比男神i 2021-01-15 04:30

I created an android app that shows google map using Google Map api V2 and it works well with me in my mobile. But when I uploaded the apk of this app to (Google play store

相关标签:
3条回答
  • 2021-01-15 04:38

    Check whether you are using signed api key when you are exporting. Otherwise map looks blank.

    Signed apk for release key procedure is here

    Google Map Android API v2 can't display map in play store application

    0 讨论(0)
  • 2021-01-15 04:49

    Your Maps API key is tied to the SHA1 signature of the keystore that is used to sign the app .apk. When you run your app from eclipse, a debug keystore is used, when you export your app for release, you use a 'real' keystore (it's SHA1 fingerprint is shown at the end of eclipse's export wizard).

    So you have to create another Maps API key (to put in your manifest) corresponding with you release keystore for release.

    Check Google's documentation here.

    0 讨论(0)
  • 2021-01-15 04:58

    This is simple method. Select your project->Right click->Export android application. Fill all requirements. When exporting it will show your SHA 1 finger print. copy that and paste it along with package name in google console. You can see Certificate finger prints in screenshot.Use that SHA1 key.

    enter image description here

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