Google Map Api v2 shows “V/GoogleSignatureVerifier : signature not valid” error message in log

后端 未结 8 917
情歌与酒
情歌与酒 2020-12-03 00:24

I am developing an Android application using google map api v2 to show a Map in a Fragment. When I run the application, I always got this error message poppin i

相关标签:
8条回答
  • 2020-12-03 01:14

    When You make signed apk then you have to put SHA-1 Of that keystore in Google Api console where u enabled GoogleAPI V_2 enabled.Then Generate API key again and put that API key into your manifest file.

    0 讨论(0)
  • 2020-12-03 01:14

    Add this in project level gradle file:

    classpath 'com.google.gms:google-services:2.1.0'

    and this one for module level gradle file:

    compile 'com.google.android.gms:play-services:8.4.0'

    and move below plugin at the end of file (at last line) of module level gradle file:

    apply plugin: 'com.google.gms.google-services'

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