android.view.WindowManager$BadTokenException

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

Solutions on the web792

  • via GitHub by nicosaki
    , 11 months ago
    Unable to add window android.view.ViewRootImpl$W@9c361db -- permission denied for this window type
  • via GitHub by lwj1994
    , 7 months ago
    Unable to add window android.view.ViewRootImpl$W@7bf9d72 -- permission denied for this window type
  • Unable to add window android.view.ViewRootImpl$W@5d992cf -- permission denied for this window type
  • Stack trace

    • android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@9c361db -- permission denied for this window type at android.view.ViewRootImpl.setView(ViewRootImpl.java:591) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85) at android.app.Dialog.show(Dialog.java:319) at com.facebook.react.devsupport.DevSupportManagerImpl.handleReloadJS(DevSupportManagerImpl.java:587) at com.facebook.react.XReactInstanceManagerImpl$3$1.run(XReactInstanceManagerImpl.java:397) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    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

    2 times, 4 months ago
    Unknown user
    Once, 7 months ago
    2 times, 9 months ago
    Unknown user
    Once, 9 months ago
    2 times, 11 months ago
    52 more bugmates