How to get google map apikey in android

后端 未结 7 1731
轮回少年
轮回少年 2020-12-05 05:53

Hi At that time working on google map. I want to display map in my activity. I successfully display the map view. But i cant show the map i think i have wrong api key so h

7条回答
  •  半阙折子戏
    2020-12-05 06:39

    If you already have the key got the link below and add the fingerprint along with your android project package name

    You also need to login to your google account

    https://code.google.com/apis/console

    enter image description here

    Click on create new key. Add the fingerprint along with your android project package name.

    enter image description here

    You can see the api key above

    Enable google map api v2 from services tab.

    enter image description here

    Then in manifest file under application tag

     
    

提交回复
热议问题