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

  1. ,
    via Stack Overflow by Alex Volovoy

    Occurs due to dialogs which are not dismissed properly and if your activity has been destroyed but your dialog is still showing. Dismiss on activity's onDestroy().

    if (dialog != null) {
            dialog.dismiss();
            dialog = null;
    }
    

Solutions on the web

via Stack Overflow by goh
, 1 year ago
Activity com.example.android.cardemulation.MenuActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{7727bec V.E...... R....... 0,0-1026,543} that was originally added here
via GitHub by sabrinaj
, 1 year ago
Activity im.vector.activity.VectorHomeActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{b9844c9 V.E...... R......D 0,0-1336,1269} that was originally added here
via Stack Overflow by Kirill Zotov
, 2 years ago
Activity MYPACKAGE.activity.SplashActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{d3dca6c V.E..... R......D 0,0-729,665} that was originally added here
via Stack Overflow by Anubias
, 1 year ago
Activity com.example.androidhive.AllProductsActivity has leaked window DecorView@bf6bd49[] that was originally added here
via Stack Overflow by wh gaming
, 8 months ago
Activity com.android.andika.soundsmart.SplashS has leaked window DecorView@e044f4c[] that was originally added here
via Stack Overflow by Shubham Singhal
, 1 year ago
Activity com.platformpetal.platformpetal.SplashScreen has leaked window DecorView@aaf4c69[] that was originally added here
android.view.WindowLeaked: Activity com.example.android.cardemulation.MenuActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{7727bec V.E...... R....... 0,0-1026,543} that was originally added here	at android.view.ViewRootImpl.(ViewRootImpl.java:397)	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:299)	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 com.example.android.cardemulation.MenuActivity$1.confirmdialog(MenuActivity.java:154)	at com.example.android.cardemulation.MenuActivity$1.onClick(MenuActivity.java:116)	at android.view.View.performClick(View.java:5226)	at android.view.View$PerformClick.run(View.java:21266)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:168)	at android.app.ActivityThread.main(ActivityThread.java:5845)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)