android.view.WindowLeaked

Activity com.example.data.CariBuku has leaked window com.android.internal.policy.PhoneWindow$DecorView{137ca20 V.E...... R......D 0,0-1026,348} that was originally added here

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web899

Stack trace

  • android.view.WindowLeaked: Activity com.example.data.CariBuku has leaked window com.android.internal.policy.PhoneWindow$DecorView{137ca20 V.E...... R......D 0,0-1026,348} that was originally added here at android.view.ViewRootImpl.<init>(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.example.data.CariBuku$Cari.onPreExecute(CariBuku.java:126) at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:604) at android.os.AsyncTask.execute(AsyncTask.java:551) at com.example.data.CariBuku$1.onClick(CariBuku.java:77) at android.view.View.performClick(View.java:5198) at android.view.View.onKeyUp(View.java:9879) at android.widget.TextView.onKeyUp(TextView.java:6248) at android.view.KeyEvent.dispatch(KeyEvent.java:2664) at android.view.View.dispatchKeyEvent(View.java:9234) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1640) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1640) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1640) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1640) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1640) at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1640) at com.android.internal.policy.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:2395) at com.android.internal.policy.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1727) at android.app.Activity.dispatchKeyEvent(Activity.java:2725) at android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:534) at android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:50) at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:241) at com.android.internal.policy.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2310) at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4127) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4089)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
bmacedobmacedo
Once,
bluebunntybluebunnty
12 times, last one
ank_07ank_07
Once,
Unknown visitor
Unknown visitorOnce,
89 more bugmates