I try to learn how i can use google sign in in my android App, but i catch com.google.android.gms.common.api.ApiException: 16 And i can\'t find on stackoveflow
Maybe a bit late to the party here but after more than 4 hours debugging I realized that:
1.- Add an Android client with your signing-certificates fingerprints under the OAuth client IDs list. This is mandatory.
2.- Add the Web application client ID in your code in case your need to get an id token
// ID and basic profile are included in DEFAULT_SIGN_IN
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestIdToken("YOUR_CLIENT_ID")
.requestEmail()
.build();
Hope it helps