Kumar Kumar - 1 year ago 102
Android Question

Release signed Android App,Google Plus Login and Google Map not Working

1.I am using Google plus login and Google map in my android Application.

2.In while debugging the App from Android Studio to Real device(Mobile)Google plus login and Google Map Works Fine.(Everything Works fine)


1.Build--> Generate Signed APK -from android Studio ,i made Release apk its not able to login using Google plus.

2.Also Google Map is showing empty screen.

I tried to create OAuth Client ID, its Giving Error message from Google Developer Console

Error Message:
Duplicate fingerprint
The fingerprint you specified is already used by an Android OAuth2 client ID in this project or another project

Link i reffered for Google plus Login

Please help me anyone how to resolve it.


1.I tested debug.apk its worked perfectly Google plus login and map.

2.But not working in release.apk.help me how to solve it.

Answer Source

You have generate Sign keyHash like this .

keytool -exportcert -alias androiddebugkey -keystore %HOMEPATH%\.android\debug.keystore | openssl sha1 -binary | openssl

For Example Like this

C:\Program Files\Java\jdk1.6.0_22\bin\keytool.exe" -exportcert -alias selvin -keystore c:\users\selvin\desktop\selvin.kp | C:\OpenSSL-Win32\bin\openssl sha1 -binary | C:\OpenSSL-Win32\bin\openssl base64

this is generate for CMD in your system add add this Hash key in your Google consol.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download