小编use*_*915的帖子

无法使用 GoogleSignInOptions DEFAULT_GAMES_SIGN_IN 登录 Google Play 服务

当我设置GoogleSignInOptionsDEFAULT_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

5
推荐指数
0
解决办法
274
查看次数