has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@2c58b888 that was original

Activity com.niuniu.ui.LoginActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@2c58b888 that was originally added here
at android.app.Dialog.show(Dialog.java:277)
at com.mksdk.utils.MyProgressDailog.progressDialog(MyProgressDailog.java:33)
原因:在LoginActivity添加了Dialog,但是没有关闭;
在关闭Activity时关闭Dailog,(Dailog.dismiss());可以在LoginActivity的onPause方法中,也可以在其他地方设置;
 
 
我的QQ群:373643359,欢迎加入

 

has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@2c58b888 that was original,布布扣,bubuko.com

has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@2c58b888 that was original

上一篇:android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context re


下一篇:AlertDailog: android.view.WindowManager$BadTokenException: Unable to add window -- token null is no