android.view.WindowManager$BadTokenException

Unable to add window -- token android.os.BinderProxy@430381a8 is not valid; is your activity running?

Solutions on the web792

  • via Stack Overflow by Brandon Prieto
    , 10 months ago
    Unable to add window -- token android.os.BinderProxy@430381a8 is not valid; is your activity running?
  • via GitHub by ifoche
    , 1 year ago
    Unable to add window -- token android.os.BinderProxy@4274c618 is not valid; is your activity running?
  • via GitHub by lw1a2
    , 1 year ago
    Unable to add window -- token android.os.BinderProxy@41ab5068 is not valid; is your activity running?
  • Stack trace

    • android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@430381a8 is not valid; is your activity running? at android.view.ViewRootImpl.setView(ViewRootImpl.java:754) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:278) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) at android.app.Dialog.show(Dialog.java:289) at com.example.gohanda.prevenin.habitoslistview$7.onReceive(habitoslistview.java:412) at android.support.v4.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:297) at android.support.v4.content.LocalBroadcastManager.access$000(LocalBroadcastManager.java:46) at android.support.v4.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:116) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5511) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method)

    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