【发布时间】:2016-01-26 17:57:54
【问题描述】:
所以我正在使用虚幻引擎 4 制作手机游戏。我目前正在尝试设置 Google Play 服务,以便我可以进行排行榜、成就和应用内购买,但我现在正在为第一个努力。
您可以在此short video 中查看行为。
它似乎试图联系服务,然后出现问题并放弃。发生这种情况时,我用手机制作了一个 logcat 日志文件,这就是我得到的:
I/GamesNativeSDK(16078): Connecting to Google Play...
V/GamesNativeSDK(16078): Attached to JVM on thread main_dispatch
D/ChimeraCfgMgr(11916): Loading module com.google.android.gms.games from APK com.google.android.play.games
D/ChimeraModuleLdr(11916): Module APK com.google.android.play.games already loaded
D/ChimeraCfgMgr(11916): Loading module com.google.android.gms.games from APK com.google.android.play.games
D/ChimeraModuleLdr(11916): Module APK com.google.android.play.games already loaded
V/GamesNativeSDK(16078): Play Games callback indicates connection failure.
I/GamesNativeSDK(16078): UI interaction required to connect to Google Play.
D/UE4 (16078): [2015.10.26-19.31.29:804][ 0]LogOnline:Warning: Async task 'Login' failed in 0.582350 seconds
E/SignInIntentService(11916): Access Not Configured. The API (Google Play Game Services API) is not enabled for your project. Please use the Google Developers Console to update your configuration.
E/SignInIntentService(11916): com.google.android.gms.games.server.error.GamesException
E/SignInIntentService(11916): at com.google.android.gms.games.server.GamesServer.getResponseBlocking(GamesServer.java:164)
E/SignInIntentService(11916): at com.google.android.gms.games.broker.PlayerAgent.getPlayerFromNetwork(PlayerAgent.java:1700)
E/SignInIntentService(11916): at com.google.android.gms.games.broker.PlayerAgent.fetchPlayer(PlayerAgent.java:621)
E/SignInIntentService(11916): at com.google.android.gms.games.broker.DataBroker.loadSelf(DataBroker.java:920)
E/SignInIntentService(11916): at com.google.android.gms.games.service.PlayGamesSignInIntentService$LoadSelfOperation.executeInternal(PlayGamesSignInIntentService.java:402)
E/SignInIntentService(11916): at com.google.android.gms.games.service.PlayGamesSignInIntentService$BaseOperation.execute(PlayGamesSignInIntentService.java:51)
E/SignInIntentService(11916): at com.google.android.gms.games.service.PlayGamesSignInIntentService$OperationAdapter.execute(PlayGamesSignInIntentService.java:487)
E/SignInIntentService(11916): at com.google.android.gms.chimera.BaseAsyncOperationService$OperationTask.run(BaseAsyncOperationService.java:179)
E/SignInIntentService(11916): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/SignInIntentService(11916): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/SignInIntentService(11916): at java.lang.Thread.run(Thread.java:818)
E/LoadSelfFragment(16219): Unable to sign in - application does not have a registered client ID
我了解错误消息,但我不明白为什么会收到它们。我尝试直接从启动器部署,并制作一个签名的 APK 并安装在我的手机上。结果是一样的。
我四处寻找解决此问题的方法,但我的开发者控制台中的设置没有任何问题,也没有任何遗漏。我在这里有点不知所措,我的目标是在 2015 年 12 月发布,所以我需要帮助。 Epic Games 几乎没有关于提供执行此操作的节点的文档,所以所有这些都是我在黑暗中摸索的。
【问题讨论】:
标签: android google-play unreal-engine4 unreal-blueprint