您好我在LibGx中制作了游戏,并为成就和排行榜整合了Google Play服务 我发布的游戏一切都很好
然后我决定整合Admob
现在,当我尝试使用此错误登录我的应用程序退出时,等待暂停同步花了太长时间;假设死锁并杀死谷歌玩游戏服务
在日志中有点像这样
09-01 18:50:07.014: E/Volley(1005): [142] tm.a: Unexpected response code 403 for https://www.googleapis.com/games/v1/players/114331978856382749964?language=en_IN
09-01 18:50:07.065: W/GLSUser(672): GoogleAccountDataService.getToken()
09-01 18:50:07.088: D/IPCThreadState(1005): [DN #5] BR_CLEAR_DEATH_NOTIFICATION_DONE cookie 0x5c1e8808
09-01 18:50:07.098: I/SurfaceFlinger(124): [SurfaceFlinger] fps:66.609230,dur:1005.87,max:54.44,min:2.09
09-01 18:50:07.140: E/SignInIntentService(1005): Access Not Configured. Please use Google Developers Console to activate the API for your project.
09-01 18:50:07.140: E/SignInIntentService(1005): exe
09-01 18:50:07.140: E/SignInIntentService(1005): at eqe.a(SourceFile:146)
09-01 18:50:07.140: E/SignInIntentService(1005): at dvt.a(SourceFile:580)
09-01 18:50:07.140: E/SignInIntentService(1005): at dvt.a(SourceFile:561)
09-01 18:50:07.140: E/SignInIntentService(1005): at dug.a(SourceFile:850)
09-01 18:50:07.140: E/SignInIntentService(1005): at eyi.a(SourceFile:251)
09-01 18:50:07.140: E/SignInIntentService(1005): at com.google.android.gms.games.service.GamesSignInIntentService.onHandleIntent(SourceFile:390)
09-01 18:50:07.140: E/SignInIntentService(1005): at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
09-01 18:50:07.140: E/SignInIntentService(1005): at android.os.Handler.dispatchMessage(Handler.java:99)
09-01 18:50:07.140: E/SignInIntentService(1005): at android.os.Looper.loop(Looper.java:153)
09-01 18:50:07.140: E/SignInIntentService(1005): at android.os.HandlerThread.run(HandlerThread.java:60)
这里有没有知道如何在libgdx游戏中整合admob和google play服务。
答案 0 :(得分:1)
在经历了大量网站的艰难日子后,我没有找到解决这个问题的方法
但是通过改变我为GPGS和admob做的方法调用的顺序,我通过其他方式工作了
现在我首先设置ip admob然后添加一个按钮来登录GPGS之前我在onCreate中这样做....
所以干杯....