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

Stack Overflow | Amir | 3 months ago
  1. 0

    Android Chathead Crashing on Start (No Permission)

    Stack Overflow | 3 months ago | Amir
    android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@2d54966 -- permission denied for this window type
  2. 0

    App force closed

    GitHub | 2 weeks ago | fayazara
    android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@1454e05 -- permission denied for window type 2006
  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 7 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@2d54966 -- permission denied for this window type

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    WindowManagerImpl.addView
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:875)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:337)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
    3 frames
  3. com.txusballesteros.bubbles
    BubblesService$2.run
    1. com.txusballesteros.bubbles.BubblesService$2.run(BubblesService.java:120)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:158)
    4. android.app.ActivityThread.main(ActivityThread.java:7229)
    4 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames