Recents in Beach

Android developer Google Sign In Error Code 10:

 How to Recover Issues of Android developer Google Sign In Error Code 10: 


Follow below methods to Resolve the Issues of this Error,

For Debug App

1. Check the Coding of Google Sign In in Your Android Studio.
2. If the Code you implemented in your Android App is Correct then Checkout Web_Client_ID in your Android App and API_Google_Console, that are matched or not. To find out your AppsWeb_Client_ID in   API_Google_Console follow instructions below:
        (i) Open Google Console
        (ii) In Left Hand Pane click on Credentials and find out "OAuth 2.0 Client IDs",
    
3. Now Find out your App's SHA fingerprint Key, follow below instructions:
        (i) In the Version of Android Studio 4.0 in Right Side panel Click on Gradle
        (ii) Click on Signing Report to get your SHA-1 Key of your App.
        (iii) Now paste this SHA-1 key into your Firebase Console>>Project Setting.
4. After complete all Steps respectively it'll not generate developer Error and u could login into your Application via Google Sign.

For Signed App

1. Check the Coding of Google Sign In in Your Android Studio.
2. If in case you found Google Sign In is Working well in Debug app and after generate it's Signed App you found an Error Code 10: it seems that you have not Register your Application's SHA-1 key into your Firebase Console, follow below Steps to Register your Signed App for Google Sign In:
    (i) While Generating Signed APK of your Application you will also create a (.jks) file with Password.
    (ii) Open CMD (Command Prompt) in your PC/Laptops in Administrator Mode and type below code:
cd 
cd = stands for Change Directory to jump on Java Installed files (where is located Keytool.exe)
  C:\Program Files\Java\jdk-13\bin\ = this is the location of your Java files to find out Keytool.exe, or you can manually search Java Keytool.exe in C: Drive.
    (iii) After change Directory type below code to assign path of your (.jks) file of your Signed APK
keytool -alias "Alias name" -keystore "file Path"\file.jks -list -v
Explain:
"Alias name" = put here your Alias name which have you given in (.jks) file while generating Signed APK
"file Path" = put here the location of your (.jks) file where you saved it.

e.g. C:\Users\gautam\signAPK.jks

    (iv) Now press Enter and give the Password of keystore,
    (v) After Complete all Steps it'll Show the SHA-1 Key of Signed APK, Now paste this Key fingerprint in your Firebase Console.
3. Now your Signed APK will works with Google Sign In.


Post a Comment

0 Comments