使用Google Play服务身份验证的问题:
我有一个错误:
Starting Auth Transition. Op: SIGN_IN status: ERROR_NOT_AUTHORIZED
Invoking callbacks, AuthState changed from silentPending to Unauthenticated.
AuthState == Unauthenticated calling auth callbacks with failure
我的代码
PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().EnableSavedGames().Build();
PlayGamesPlatform.InitializeInstance(config);
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();
Social.localUser.Authenticate((bool success) => {
if (success) print("Удачно вошел");
else print("Неудачно вошел");
});
始终输入失败。 我将客户端ID统一安装。密钥库和别名已创建。在Playmarket服务中,添加了一个密钥库。程序包的名称在游戏和开发人员控制台中均相同。 我不知道该怎么办。可能是什么问题?