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

Stack Overflow | Brandon Prieto | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I have Error Alertidialog y custom dialog

    Stack Overflow | 6 months ago | Brandon Prieto
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@430381a8 is not valid; is your activity running?
  2. 0

    GitHub comment 718#168185028

    GitHub | 1 year 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?
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 -- token android.os.BinderProxy@430381a8 is not valid; is your activity running?

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:754)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:278)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
    4. android.app.Dialog.show(Dialog.java:289)
    4 frames
  3. com.example.gohanda
    habitoslistview$7.onReceive
    1. com.example.gohanda.prevenin.habitoslistview$7.onReceive(habitoslistview.java:412)
    1 frame
  4. Android Support v4
    LocalBroadcastManager$1.handleMessage
    1. android.support.v4.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:297)
    2. android.support.v4.content.LocalBroadcastManager.access$000(LocalBroadcastManager.java:46)
    3. android.support.v4.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:116)
    3 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:146)
    3. android.app.ActivityThread.main(ActivityThread.java:5511)
    3 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame