Ensure that the “Google Maps Android API v2” is enabled. I am getting this error when I try to Implement Google Maps

后端 未结 11 1762
执笔经年
执笔经年 2020-11-29 03:39

I am working on google maps and I am getting this error. I had done the following things:

  1. Got My sha1 fingerprint.

  2. Registered my project and

11条回答
  •  甜味超标
    2020-11-29 04:30

    I encountered this problem when I opened my project with Android Studio on a different computer. Updating SHA-1 solved the problem.

    Linux/MacOS

    keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
    

    Windows

    keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
    

提交回复
热议问题