android.view.WindowManager$BadTokenException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 88#245500452
    via GitHub by mike-stetsenko
    ,
  • GitHub comment 2374#248725155
    via GitHub by dablado
    ,
  • Exception in showing dialog
    via Stack Overflow by vignesh
    ,
    • android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@142544eb -- permission denied for this window type at android.view.ViewRootImpl.setView(ViewRootImpl.java:714) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) at com.github.johnpersano.supertoasts.library.Toaster.displaySuperToast(Toaster.java:186) at com.github.johnpersano.supertoasts.library.Toaster.handleMessage(Toaster.java:136) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5546) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:967) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)

    Users with the same issue

    Unknown User
    6 times, last one,
    Unknown visitor1 times, last one,
    martyn
    4 times, last one,
    Indri Yunita
    4 times, last one,
    filpgame
    2 times, last one,
    52 more bugmates