android.view.WindowLeaked: Activity jahirfiquitiva.apps.iconshowcase.sample.HomeActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{7dabda6 V.E...... R.....ID 0,0-1025,878} that was originally added here
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
Close (finish) a Activity before, to ensure that the subsidiary in the above Dialog or PopupWindow have been closed (dismiss). Is also available at OnCreateDialog (Dialog) to create, let the system to manage the dialog box
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 GitHub by AllanWang
, 1 year agovia GitHub by MrThiago
, 2 years agovia GitHub by akmal
, 2 years agovia GitHub by teolemon
, 11 months agovia GitHub by teolemon
, 1 year agoandroid.view.WindowLeaked: Activity jahirfiquitiva.apps.iconshowcase.sample.HomeActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{7dabda6 V.E...... R.....ID 0,0-1025,878} that was originally added here
at android.view.ViewRootImpl.
(ViewRootImpl.java:368) 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 com.afollestad.materialdialogs.MaterialDialog.show(MaterialDialog.java:1350)
at com.afollestad.materialdialogs.MaterialDialog$Builder.show(MaterialDialog.java:1341)
at jahirfiquitiva.iconshowcase.dialogs.ISDialogs.showChangelogDialog(ISDialogs.java:84)
at jahirfiquitiva.iconshowcase.activities.ShowcaseActivity.showChangelogDialog(ShowcaseActivity.java:635)
at jahirfiquitiva.iconshowcase.activities.ShowcaseActivity.runLicenseChecker(ShowcaseActivity.java:603)
at jahirfiquitiva.iconshowcase.activities.ShowcaseActivity.onCreate(ShowcaseActivity.java:261)
at jahirfiquitiva.apps.iconshowcase.sample.HomeActivity.onCreate(HomeActivity.java:35)
at android.app.Activity.performCreate(Activity.java:6251)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)