GoogleSignInResult isSuccess failed

前端 未结 6 2009
栀梦
栀梦 2020-12-10 17:09

I want to use the Google Login for my App, but I always get the message Status{statusCode=unknown status code: 12500, resolution=null and the login failed. Has

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-10 17:23

    Calling the connect() function after the "sing-in" code worked for me.

         Intent signInIntent = Auth.GoogleSignInApi.getSignInIntent(sActivity.mGoogleApiClient);
        sActivity.startActivityForResult(signInIntent, RC_SIGN_IN);
    
        mGoogleApiClient.connect(); //Adding this worked for me!
    

提交回复
热议问题