Why Google Maps is showing empty screen in my Android App?

前端 未结 5 593
遇见更好的自我
遇见更好的自我 2021-01-06 17:30

I have Google Maps in my Android App. I added it by selecting new Google Maps Activity & pasting the key in Android Studio. It worked fine in my Android phone (Lenovo K5

5条回答
  •  星月不相逢
    2021-01-06 17:56

    The debug.keystore is different from two computers.

    Solutions:

    1) Copy the keystore from the pc to new in Android folder.

    2) Generate new sha and put in your google api's project. https://developers.google.com/maps/documentation/android-api/signup#release-cert

提交回复
热议问题