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

  1. 0

    Why custom dialog is not working on API 23?

    Stack Overflow | 4 months ago | Anshuman Pattnaik
    android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@3387043 -- permission denied for this window type
  2. 0

    GitHub comment 718#168185028

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

    BadTokenException in StatsActivity

    GitHub | 3 years ago | roundhill
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@418db850 is not valid; is your activity running?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

    GitHub | 3 years ago | mntgoat
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  6. 0

    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@4249b198 is not valid; is your activity running?

    GitHub | 3 years ago | Amab
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@4249b198 is not valid; is your activity running?

  1. filpgame 1 times, last 2 weeks ago
  2. franky li 2 times, last 1 month ago
  3. dontdropmybass 2 times, last 4 months ago
  4. ank_07 4 times, last 4 months ago
  5. bayukresno 1 times, last 5 months ago
8 more registered users
5 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@3387043 -- permission denied for this window type

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:598)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:86)
    4. android.app.Dialog.show(Dialog.java:319)
    4 frames
  3. com.example.hello
    ExploreFragment$4.onEditorAction
    1. com.example.hello.fragment.ExploreFragment.exploreBeers(ExploreFragment.java:255)
    2. com.example.hello.fragment.ExploreFragment$4.onEditorAction(ExploreFragment.java:203)
    2 frames
  4. Android Platform
    TextView.onEditorAction
    1. android.widget.TextView.onEditorAction(TextView.java:4773)
    1 frame
  5. Android
    IInputConnectionWrapper$MyHandler.handleMessage
    1. com.android.internal.widget.EditableInputConnection.performEditorAction(EditableInputConnection.java:139)
    2. com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:304)
    3. com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:78)
    3 frames
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:152)
    3. android.app.ActivityThread.main(ActivityThread.java:5497)
    3 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames