android.view.WindowManager$BadTokenException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Alertdialog can't show on getview
    via Stack Overflow by Andrea Bandiera
    ,
    • android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@c166e21 is not valid; is your activity running? at android.view.ViewRootImpl.setView(ViewRootImpl.java:567) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85) at android.app.Dialog.show(Dialog.java:319) at android.app.AlertDialog$Builder.show(AlertDialog.java:1112) at pw.thedrhax.mosmetro.updater.UpdateCheckTask.showDialog(UpdateCheckTask.java:108) at pw.thedrhax.mosmetro.activities.SettingsActivity$1.result(SettingsActivity.java:49) at pw.thedrhax.mosmetro.updater.UpdateCheckTask.onPostExecute(UpdateCheckTask.java:78) at pw.thedrhax.mosmetro.updater.UpdateCheckTask.onPostExecute(UpdateCheckTask.java:19) at android.os.AsyncTask.finish(AsyncTask.java:651)

    Users with the same issue

    filpgamefilpgame
    2 times, last one,
    dontdropmybassdontdropmybass
    2 times, last one,
    spespe
    2 times, last one,
    lribeirolribeiro
    2 times, last one,
    syntech16syntech16
    1 times, last one,
    52 more bugmates