Google Map API v2 is not showing Map on device

后端 未结 6 862
一个人的身影
一个人的身影 2020-12-29 05:42

I am running sample code that is provided on Google Map Documentation for Google Map Api v2 (https://developers.google.com/maps/documentation/android/start#specify_settings_

6条回答
  •  孤独总比滥情好
    2020-12-29 06:25

    Most probably your problem will be solved when you make sure below mentioned things:

    1. Activate Google Map API

    2. Use correct package name while generating API Key (in my case this was the mistake) .. and this seems problem to your case also as package name appears to be wrong (com.example.mapdemo)

    3. Make Sure you are using the correct keystore file for generating the SHA1

    Hope this will be helpful.

提交回复
热议问题