android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@43093158 -- permission denied for this window type

GitHub | irsalshabirin | 3 months ago
  1. 0

    I've got an error from android Kitkat 4.4.4

    GitHub | 3 months ago | irsalshabirin
    android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@43093158 -- permission denied for this window type
  2. 0

    GitHub comment 88#245500452

    GitHub | 3 months ago | mike-stetsenko
    android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@142544eb -- permission denied for this window type
  3. 0

    Unable to add window android.view.ViewRoot$W@44da9bc0 -- permission denied for this window type

    Stack Overflow | 5 years ago | Pratik
    java.lang.RuntimeException: Unable to create service com.searce.testoverlay.HUD: android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRoot$W@44da9bc0 -- permission denied for this window type
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: unable to add window - token null is not for an application

    Stack Overflow | 6 years ago | is Liu chinses
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  6. 0

    Exception in showing dialog

    Stack Overflow | 4 years ago | vignesh
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

  1. martyn 4 times, last 8 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.view.WindowManager$BadTokenException

    Unable to add window android.view.ViewRootImpl$W@43093158 -- permission denied for this window type

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    WindowManagerImpl.addView
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:587)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:263)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
    3 frames
  3. com.github.johnpersano
    Toaster.handleMessage
    1. com.github.johnpersano.supertoasts.library.Toaster.displaySuperToast(Toaster.java:186)
    2. com.github.johnpersano.supertoasts.library.Toaster.handleMessage(Toaster.java:136)
    2 frames
  4. Android Platform
    Handler.dispatchMessage
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    1 frame