今天调试程序时log中突然打印这样的错误,但是程序并没有crash,为了不放过一个错误,我决定调查一下. 当时是离开一个activity,然后提示是否退出此界面,接下来就打印此错误: - ::): Activity com.linc.megatron.activity.ExamActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40568ea8 that was originally…
错误: E/WindowManager: android.view.WindowLeaked: Activity com.x.x.x has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{52a37480 V.E..... R......D 0,0-729,192} that was originally added here 这个错误纠结了好久,后面上网才查到,就是progressdialog 跳转另一…
在编写Android程序的时候,遇到一个隐藏性问题.仔细查看LogCat,错误信息如下: 10-31 13:03:34.549: ERROR/WindowManager(444): Activity com.iqiwu.android.NoticeActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@437d1570 that was originally added here 1…