0

I have a android application that with Google+ sign-in function. I have enabled Google+ API and create oauth 2.0 user client id for my application. Also, I download the JSON file from https://developers.google.com/mobile/add?platform=android. I generate the signed apk(release) and the google+ sign-in function works. My problem is that if I upload the signed apk to google play as a beta version. The Google+ sign-in function will be failed!!! The error sign-in result: Status

{statusCode=DEVELOPER_ERROR, resolution=null}.

I have no idea about this condition, please have advised to me. Many thanks.

Ramesh sambu
  • 3,577
  • 2
  • 24
  • 39
hsnu_976
  • 71
  • 1
  • 5
  • Possible duplicate of [error-statusstatuscode-developer-error-resolution-null](https://stackoverflow.com/questions/37273145/error-statusstatuscode-developer-error-resolution-null) – Ramesh sambu Dec 18 '17 at 10:21
  • You can see this answer https://stackoverflow.com/a/38496053/8143436 – Mahesh Vayak Dec 18 '17 at 10:27

3 Answers3

0

Generate and add your SHA1 key to the Google Project Console. This will solve your issue.

keytool -list -v -keystore KEYSTORE_PATH -alias ALIAS_NAME

Use your Release keystore.

Febi M Felix
  • 2,799
  • 1
  • 10
  • 13
0

You have to enter SHA 1 certificate fingerprints from Google Play Console to your Google Project Console. Generated release SHA1 fingerprints works for signed apk but doesn't work for live apps anymore.

Anubhav
  • 1
  • 3
  • Can you provide url link to Google Project Console? Do you mean firebase project console? – hsnu_976 Dec 19 '17 at 01:29
  • No, Google provides SHA1 fingerprint on Google Play console ,from where you have published your app. Put that SHA1 certificate on your google/firebase developer console. – Anubhav Dec 21 '17 at 05:01
0

You need to add your SHA1 key to firebase console configuration. You can do it in this way:

Firebase console ( https://console.firebase.google.com ) -> your project -> configuration -> scroll to

enter image description here

You can find your SHA1 key running "Signin report" from Android Studio:

enter image description here

Then, look the "run tab" and click the button:

enter image description here

I think it's the easier way. Hope this help.

GreenROBO
  • 4,725
  • 4
  • 23
  • 43