今天写Sqlite Demo时,发生如下错误: Activity me.dengfengdecao.android.savedatademo.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@536caa40 that was originally added
Activity xiaosi.tab.tabActivity has leaked window android.widget.LinearLayout@4375f248 that was originally added here 原因: 是在在Activity中显示了PopupWindow ,但在退出Activity 时没把PopupWindow 关闭。 解决方