我试图将谷歌游戏服务添加到我的应用程序中,并且我发现错误"许可证检查失败"我无法弄清楚出了什么问题,因为我没有找到类似的探针或文件。
这里是logcat:
5-16 07:34:13.627 2915-4030/com.google.android.gms E/SignInIntentService: Game 757739709867 not licensed to player.
com.google.android.gms.games.server.error.GamesException
at com.google.android.gms.games.server.GamesServer.getResponseBlocking(GamesServer.java:174)
at com.google.android.gms.games.server.api.PlayersApi.getBlocking(PlayersApi.java:86)
at com.google.android.gms.games.broker.PlayerAgent.getPlayerFromNetwork(PlayerAgent.java:1693)
at com.google.android.gms.games.broker.PlayerAgent.fetchPlayer(PlayerAgent.java:644)
at com.google.android.gms.games.broker.DataBroker.loadSelf(DataBroker.java:1185)
at com.google.android.gms.games.service.PlayGamesSignInIntentService$LoadSelfOperation.executeInternal(PlayGamesSignInIntentService.java:294)
at com.google.android.gms.games.service.PlayGamesSignInIntentService$BaseOperation.execute(PlayGamesSignInIntentService.java:56)
at com.google.android.gms.games.service.PlayGamesSignInIntentService$OperationAdapter.execute(PlayGamesSignInIntentService.java:520)
at com.google.android.gms.chimera.BaseAsyncOperationService$OperationTask.run(BaseAsyncOperationService.java:177)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at com.google.android.gms.common.util.concurrent.PriorityRunnable.run(PriorityRunnable.java:17)
at java.lang.Thread.run(Thread.java:761)
05-16 07:34:13.657 3934-3934/com.google.android.play.games.ui I/SignInActivity: Transition from 8 to 11
05-16 07:34:13.658 3934-3934/com.google.android.play.games.ui W/SignInActivity: onSignInFailed()...
05-16 07:34:13.658 3934-3934/com.google.android.play.games.ui W/SignInActivity: Sign in failed during 8
05-16 07:34:13.658 3934-3934/com.google.android.play.games.ui W/SignInActivity: ==> Returning non-OK result: 10003
05-16 07:34:13.684 2915-2972/com.google.android.gms W/GamesServiceBroker: Client connected with SDK 8487000, Services 10299470, and Games 39080070
非常感谢!!