android.view.WindowLeaked: Activity com.xxx.xxxx.TabFragmentActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{34ebc882 V.E..... R.....ID 0,0-283,175} 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 github.com by Unknown author

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

,
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 roshanpeter
, 1 year ago
Activity com.xxx.xxxx.TabFragmentActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{34ebc882 V.E..... R.....ID 0,0-283,175} that was originally added here
via Stack Overflow by Jonas452
, 10 months ago
Activity (DELETED BY ME).AtividadesActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{42604ff8 V.E..... R....... 0,0-640,672} that was originally added here
via Stack Overflow by Sandipkumar Savani
, 1 year ago
Activity com.arcil.brio.ui.launch.LaunchActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{2359dcf V.E...... R.....I. 0,0-1026,660} that was originally added here
via Stack Overflow by Devika
, 6 months ago
Activity com.example.admin.dealerdemo.OrderEntry has leaked window com.android.internal.policy.PhoneWindow$DecorView{dba0674 V.E...... R.....I. 0,0-639,188} that was originally added here
via GitHub by barbeau
, 1 year ago
Activity org.onebusaway.android.ui.TripPlanActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{1e2bfb0 V.E...... R....... 0,0-1368,764} that was originally added here
via Stack Overflow by Python Programmer
, 1 year ago
Activity com.company.android.activities.StartActivity has leaked window com.android.internal.policy.PhoneWindow$DecorView{7a59bc1 V.E...... R......D 0,0-1160,413} that was originally added here
android.view.WindowLeaked: Activity com.xxx.xxxx.TabFragmentActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{34ebc882 V.E..... R.....ID 0,0-283,175} that was originally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:363)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:271)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
at android.app.Dialog.show(Dialog.java:298)
at com.xxx.xxx.Login.connectWithHttpGet(Login.java:580)
at com.xxx.xxx.Login.access$000(Login.java:62)
at com.xxx.xxxx.Login$9.onClick(Login.java:220)
at android.view.View.performClick(View.java:4780)
at android.view.View$PerformClick.run(View.java:19866)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5257)
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:903)

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.