android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@201c3232 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:678)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:279)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.app.Dialog.show(Dialog.java:298)
at android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:955)
at com.door43.translationstudio.ui.home.HomeActivity$21.run(HomeActivity.java:1041)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5534)
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:955)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)
Environment
Stack trace