Google Sign In error 12500

前端 未结 30 3837
时光说笑
时光说笑 2020-11-22 09:17

I am trying to integrate Google Sign In into my app. I don\'t have a back-end server, I am just getting the details of the logged on Google Account to my app.

I firs

30条回答
  •  萌比男神i
    2020-11-22 09:56

    It can also happen that the cordova compiler is unable to find the proper keystore file.



    Solution: Before executing ionic cordova build android specify the signing properties

    Step-1: Generate a debug keystore file

    Execute the command

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

    Use password: android

    Step-2: Copy the keystore file(debug.keystore) from ~/.android to platform/android directory of your current project

    Step-3: Create a file named release-signing.properties in the platform/android directory

    Step-4: Add the contents in the file

    storeFile=debug.keystore
    keyAlias=androiddebugkey
    storePassword=android
    keyPassword=android
    

    Note: These are the default values. If you have provided custom alias and password then use them accordingly.

    Step-5: Now build ionic cordova build android

提交回复
热议问题