I'm following the sample code given by Google to integrate Google plus with android. https://github.com/googlesamples/google-services/blob/master/android/signin/app/src/main/java/com/google/samples/quickstart/signin/SignInActivity.java
That code sample worked perfectly fine until I added some changes as follows. GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestScopes(new Scope(Scopes.PLUS_LOGIN)) .requestEmail() .build(); mGoogleApiClient = new GoogleApiClient.Builder(this) .enableAutoManage(this /* FragmentActivity */, this /* OnConnectionFailedListener */) .addApi(Auth.GOOGLE_SIGN_IN_API, gso) .build(); signinGoogleBtn = (SignInButton) findViewById(R.id.signingoogleBtn); signinGoogleBtn.setSize(SignInButton.SIZE_STANDARD); signinGoogleBtn.setScopes(gso.getScopeArray()); I added Google+ scopes to GoogleSignInOptions in order to customize the signin button. Then handleSignInResult always returns false. Could anyone please help me to fix this issue? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/af0c798f-1e0f-427a-95cc-95054cfd1001%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

