Libgdx game exits when google is called

Hi, I made a game in LibGx and integrated Google services to achieve achievements and leaderboards I published the game, everything was fine

Then I decided to integrate Admob

Now when I tried to sign In my application, exits with this error also expected the pause to sync to take too long; assuming the dead end and killing of google play game services.

something similar in logs

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)

      

can anyone here integrate admob and google play functionality into libgdx game together.

+3


source to share


1 answer


After a rough day going through many sites, I have not found a way to resolve this issue.

But I succeeded by changing the sequence of the method call that I did for GPGS and admob



Now I installed ip admob first and then added a button to login. In GPGS, I previously did this in onCreate ....

so cheers ....

+1


source







All Articles