android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@43cccb20 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by obilodeau
, 1 year ago
Unable to add window -- token android.os.BinderProxy@43cccb20 is not valid; is your activity running?
via GitHub by obilodeau
, 1 year ago
Unable to add window -- token android.os.BinderProxy@40704650 is not valid; is your activity running?
via Stack Overflow by wufoo
, 2 years ago
Unable to add window -- token android.os.BinderProxy@40bb3de0 is not valid; is your acti vity running?
via Stack Overflow by hunterp
, 2 years ago
Unable to add window -- token android.os.BinderProxy@4322fef0 is not valid; is your activity running?
via scriptscoop.com by Unknown author, 2 years ago
Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@462b6c10 is not valid; is your activity running?
via Stack Overflow by IssacZH.
, 2 years ago
Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@4057a200 is not valid; is your activity running?
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@43cccb20 is not valid; is your activity running?
at android.view.ViewRoot.setView(ViewRoot.java:505)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
at android.view.Window$LocalWindowManager.addView(Window.java:424)
at android.app.Dialog.show(Dialog.java:241)
at android.app.AlertDialog$Builder.show(AlertDialog.java:802)
at org.tomdroid.ui.SyncMessageHandler.handleMessage(SyncMessageHandler.java:94)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

Users with the same issue

2 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2 times, 9 months ago
2 times, 1 year ago

Write tip

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