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

后端 未结 10 1113
礼貌的吻别
礼貌的吻别 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条回答
  •  -上瘾入骨i
    2020-11-27 21:38

    BTW, I'm running Windows 7. I fussed over this for days, until I discovered the following: I have more than one debug.keystore. One is at:

    C:\android-sdk\.android\debug.keystore
    

    And there's another, at:

    C:\Users\David\.android\debug.keystore
    

    Once I found the "C:\Users\David.android\debug.keystore" I did:

    keytool -list -alias androiddebugkey -keystore C:\Users\David\.android\debug.keystore -storepass   android -keypass android -v
    

    I submitted the resulting SHA1 to google console and got an API-key that works. Getting the SHA1 from the keystore at "C:\android-sdk.android\debug.keystore" does not work.

提交回复
热议问题