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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by 文俊杰
, 1 year ago
Unable to add window -- token android.os.BinderProxy@3dfdb5fb is not valid; is your activity running?
via Stack Overflow by Unknown author, 1 year ago
Unable to add window -- token android.os.BinderProxy@351c808e is not valid; is your activity running?
via GitHub by SferaDev
, 10 months ago
Unable to add window -- token android.os.BinderProxy@3ff9895 is not valid; is your activity running?
via Stack Overflow by Eduardo Mauro
, 1 year ago
Unable to add window -- token android.os.BinderProxy@a9a76e0 is not valid; is your activity running?
via GitHub by vitamin-caig
, 10 months ago
Unable to add window -- token android.os.BinderProxy@e491e38 is not valid; is your activity running?
via GitHub by sonicmax
, 6 months ago
Unable to add window -- token android.view.ViewRootImpl$W@1a30dd2 is not valid; is your activity running?
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@3dfdb5fb is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:695)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:289)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3292)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2600)
at android.app.ActivityThread.access$800(ActivityThread.java:178)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5631)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
10 times, 1 year ago
55 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.