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 User54321
, 1 year ago
Unable to add window -- token null is not for an application
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application	at android.view.ViewRootImpl.setView(ViewRootImpl.java:853)	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:337)	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)	at android.app.Dialog.show(Dialog.java:350)	at android.app.AlertDialog$Builder.show(AlertDialog.java:1113)