当我设置GoogleSignInOptions
为DEFAULT_SIGN_IN
一切正常时登录成功但当我尝试登录时GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN
返回Status{statusCode=unknown status code: 12501, resolution=null}
。
这是我在developers.google docs中编写的代码
GoogleSignInClient signInClient = GoogleSignIn.getClient(activity,
GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN);
Intent intent = signInClient.getSignInIntent();
activity.startActivityForResult(intent, RC_SIGN_IN);
Run Code Online (Sandbox Code Playgroud) android google-play google-play-services google-play-games google-signin