I am trying to integrate Google+ with android, for that I have taken up the sample Google+ app (zip file attached). I have created the ClientId, put SHA1 key and package in the google developer console corresponding the my gmailId (dev.061086@gmail.com). The keystore file generated is also not old. But still I am getting the error as follows. I have also tried creating the app/clientId multiple times to fix the issue as suggested by few.
GLSUser : GLS error : INVALID_KEY dev.061086@gmail.com oauth2:https://www.googleapis.com/auth/plus.login GLSActivity : gms.StatusHelper Status from wire: INVALID_KEY status:null
Following is the snippet of my "client key" :-
Client ID for Android application
CLIENT ID 852919256513-1i41jquuvq72a2be4hq4rij9pmq39b0e.apps.googleusercontent.comREDIRECT URIS urn:ietf:wg:oauth:2.0:oob
PACKAGE NAME info.androidhive.gpluslogin CERTIFICATE FINGERPRINT (SHA1) 64:62:bf:87:2a:4b:c4:d6:d4:43:f7:36:62:6b:f7:f0:bd:33:7c:16 DEEP LINKING Enabled I have filled the consent screen properly and added my email-id and productName (dummy name).
I am generating the keystore file with this commnd :-
keytool -genkey -v -keystore myDebug.keystore -alias debugkey -keyalg RSA -keysize 2048 -validity 10000
Generating SHA1 key like this :- keytool -exportcert -alias debugkey -keystore "C:\Users\dchakrab\Desktop\myDebug.keystore" -list -v
Can you kindly let me know where is the problem
Thanks
0 comments:
Post a Comment