android.view.WindowLeaked: Activity com.github.yeriomin.yalpstore.UpdatableAppsActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{40fd9d48 V.E..... R......D 0,0-580,162} 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

,
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 GitHub by k3b
, 1 year ago
Activity com.github.yeriomin.yalpstore.UpdatableAppsActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{40fd9d48 V.E..... R......D 0,0-580,162} that was originally added here
via GitHub by ZaidWaseem10
, 8 months ago
Activity com.amazonaws.demo.s3transferutility.DownloadSelectionActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{3eaec2a V.E...... R.....ID 0,0-513,526} that was originally added here
via GitHub by donpwilson
, 1 year ago
Activity com.cloudrail.si.servicecode.commands.awaitCodeRedirect.AuthenticationActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{4244f300 V.E..... R......D 0,0-563,96} that was originally added here
via Stack Overflow by Sophie
, 1 year ago
Activity com.app.ifko.HomeActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@416b80b0 that was originally added here
via hockeyapp.net by Unknown author, 1 year ago
Activity net.hockeyapp.android.FeedbackActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42baadf0 V.E..... R......D 0,0-684,192} that was originally added here
via Stack Overflow by Tony
, 2 years ago
Activity com.example.project.myapplication.GUI.Edit_Staff has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42c71d80 V.E..... R......D 0,0-684,324} that was originally added here
android.view.WindowLeaked: Activity com.github.yeriomin.yalpstore.UpdatableAppsActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{40fd9d48 V.E..... R......D 0,0-580,162} that was originally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:354)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:216)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.app.Dialog.show(Dialog.java:281)
at android.app.ProgressDialog.show(ProgressDialog.java:116)
at android.app.ProgressDialog.show(ProgressDialog.java:99)
at com.github.yeriomin.yalpstore.GoogleApiAsyncTask.onPreExecute(GoogleApiAsyncTask.java:46)
at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:586)
at android.os.AsyncTask.execute(AsyncTask.java:534)
at com.github.yeriomin.yalpstore.UpdatableAppsActivity.loadApps(UpdatableAppsActivity.java:107)
at com.github.yeriomin.yalpstore.AppListActivity.onCreate(AppListActivity.java:60)
at com.github.yeriomin.yalpstore.UpdatableAppsActivity.onCreate(UpdatableAppsActivity.java:18)
at android.app.Activity.performCreate(Activity.java:5104)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:817)

Users with the same issue

Once, 2 months ago
5 times, 3 months ago
Once, 3 months ago
4 times, 3 months ago
64 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.