Activity packagename has leaked window android.widget.PopupWindow$PopupDecorView{4f92660 V.E...... .......D 0,0-455,600} that was originally added here时间:2023-03-08 17:06:29 原因是在销毁Activity时,Activity中的popupwindow还处于显示状态。 解决方法是重写Activity的onDestroy()方法,在Activity销毁前调用popupWindow的dismiss()方法关闭popupwindow。