java.lang.IllegalStateException

isLoaded must be called on the main UI thread.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.IllegalStateException: isLoaded must be called on the main UI thread. at com.google.android.gms.common.internal.bx.b(SourceFile:251) at com.google.android.gms.ads.internal.a.c(SourceFile:193) at com.google.android.gms.ads.internal.client.aa.onTransact(SourceFile:66) at android.os.Binder.transact(Binder.java:297) at com.google.android.gms.internal.ap$a$a.isReady(Unknown Source) at com.google.android.gms.internal.au.isLoaded(Unknown Source) at com.google.android.gms.ads.InterstitialAd.isLoaded(Unknown Source) at com.silentshark.tanks.AdmobInterstitial.ShowAd(MonkeyGame.java:2911) at com.silentshark.tanks.c_game.m_see_if_dead(MonkeyGame.java:3650) at com.silentshark.tanks.c_game.p_OnUpdate(MonkeyGame.java:5035) at com.silentshark.tanks.c_GameDelegate.UpdateGame(MonkeyGame.java:6104) at com.silentshark.tanks.BBGame.UpdateGame(MonkeyGame.java:596) at com.silentshark.tanks.BBAndroidGame.UpdateGame(MonkeyGame.java:1267) at com.silentshark.tanks.BBAndroidGame.onDrawFrame(MonkeyGame.java:1334) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1462) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.