许可证检查失败消息

时间:2017-05-16 11:56:47

标签: android google-play-games

我试图将谷歌游戏服务添加到我的应用程序中,并且我发现错误"许可证检查失败"我无法弄清楚出了什么问题,因为我没有找到类似的探针或文件。

这里是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

enter image description here 我在模拟器中更改了Google帐户,但错误仍然存​​在..

非常感谢!!

1 个答案:

答案 0 :(得分:0)

您是否为该应用启用了Anti-Piracy?我相信它会检测到仿真器不是真正的设备而且应用程序没有从Play商店安装,从而触发了许可证检查。