Google Maps API V2 'Failed to Load Map. Could not contact Google Servers'

后端 未结 10 1114
礼貌的吻别
礼貌的吻别 2020-11-27 21:08

I have checked and double checked my APIkey that I registered on the Google Console however I am still getting the following error:

12-05 16:31:12.940: E/Goo         


        
10条回答
  •  遥遥无期
    2020-11-27 21:34

    Make sure all below mentioned points are taken care:

    1) Wrong service was enabled. Make sure the "Google Maps Android API v2", not "Google Maps API v2" is enabled and re-generate the API key.

    2) Add the following elements to your manifest. Replace com.example.mapdemo with the package name of your application.

    3) Use of correct certificate and key. Release certificate, which WILL NOT WORK during debugging when you run the app on my phone. You have to use the debugging keystore certificate fingerprint instead.

提交回复
热议问题