Can reinstalling Android studio cause my Google Maps API not to display in my app?

后端 未结 1 1783
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-23 19:12

I created an app that utilizes Google Maps API, I always back up my app by saving copies of it on an external drive.

I recently reinstalled windows and had to reinstall

相关标签:
1条回答
  • 2021-01-23 20:13

    Your development key (debug certificate) has changed and you will need let Google know your new one.

    When you reinstalled Android Studio it created a new debug certificate for you.

    When you reran your app it signed it with this new debug certificate and Google Maps is still expecting the old one.

    You will need to change it to the new one in the Google Developer Console.

    Follow the instructions here: https://developers.google.com/maps/documentation/android-api/signup

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