Android statusCode=SIGN\u IN\u REQUIRED,resolution=null只有开发者Id才能登录else错误

Android statusCode=SIGN\u IN\u REQUIRED,resolution=null只有开发者Id才能登录else错误,android,google-play-services,googlesigninapi,Android,Google Play Services,Googlesigninapi,GoogleSignInOptions.DEFAULT\u GAMES\u SIGN\u IN只允许我的开发者id登录,否则,如果我尝试使用其他id,它会抛出错误 状态代码=需要签名,分辨率=空 如何使用其他ID登录 public void signin() { mGoogleSignInClient= GoogleSignIn.getClient(this, GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN); Intent intent

GoogleSignInOptions.DEFAULT\u GAMES\u SIGN\u IN
只允许我的开发者id登录,否则,如果我尝试使用其他id,它会抛出错误

状态代码=需要签名,分辨率=空

如何使用其他ID登录

public void signin()
{  
 mGoogleSignInClient= GoogleSignIn.getClient(this,  GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN);


     Intent intent= mGoogleSignInClient.getSignInIntent();

       startActivityForResult(intent, REQ_CODE);
  }


     @Override
          protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    if (requestCode==REQ_CODE)
    {

        GoogleSignInResult result= Auth.GoogleSignInApi.getSignInResultFromIntent(data);
        handleResult(result);
    }
错误是
LoginResult:Status{statusCode=SIGN\u IN\u REQUIRED,resolution=null}

您需要在您的项目的Google控制台中添加测试人员帐户 有关更多信息,请参阅以下链接。 谢谢