Menu
Date

October 2016

WindowManager: android.view.WindowLeaked: Activity has leaked window

While developing an android mobile app, I received this error. In the mobile app, on click of back button, a dialog will be opened with few buttons including “Exit”. On click of exit, I have given (Activity context).finish(); but it is throwing the below error.WindowManager: android.view.WindowLeaked: Activity <app package> has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{45500950 V.E….. R……. 0,0-640,929} that was originally added here…

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.