I\'m using Firebase Google Sign in. It works perfectly via USB debugging. But when I generate signed APK, it stops working. Its not able to sign in. Using it on Android 5.1
For Windows:
In Reality:
keytool -list -v -keystore "E:\Google Drive\MeshstocksSyncronize\AndroidKey\BRB\bangaliRussainBusiness.jks"
for Example :
keytool -list -v -keystore "**Here is your path**"
past this line to your android studio terminal.
Follow the video for batter understanding: https://youtu.be/TYrmT8Emadg
You are having fingerprint certificate in console, but its only for debugging purposes, for signed apk you need a production fingerprint certificate, and you can get one by
c:\Program Files\Java\jdk1.6.25\bin>keytool -list -v -keystore c:\you_key_here.key
Steps to locate the SHA-1 key: 1) Go to your Google Play Console 2) Select the targeting app 3) Go to "App signing" under "Release management" 4) The SHA-1 key can be found under "App Signing Certificate"
It took me many hours to resolve the issue and I hope this can help someone who runs into the same issue.
I had the same problem and I fixed the problem using these methods.
Complete app signing on your Play store console using these instructions How to enable Google Play App Signing
Go to your Firebase console Settings > General > Your apps > (Select your project) then add the SHA-1 from App signing certificate from your Play store. You can get SHA-1 by going to Release management -> App signing as show in this image.