Google Maps API Key in release build doesn't work

后端 未结 5 787
南方客
南方客 2020-12-30 09:36

I\'m currently developing an application for Android and I\'m using Google Maps API. In developer console, I added my SHA1 certificate print, followed by my package name. Ev

5条回答
  •  醉梦人生
    2020-12-30 10:15

    You have to Enable the SHA key In Google Developer Console so at 1st go to release Management get your app SHA key (1st one ) then Follow this link

     https://console.developers.google.com/flows/enableapi?apiid=maps_android_backend&keyType=CLIENT_SIDE_ANDROID&r=(Your SHA KEY)%3B(YOUR PACKAGE NAME)
    

    Now it Will Enable the API . now update your app with the new key . It will Work .

提交回复
热议问题