1. 错误描述

E/WindowManager: android.view.WindowLeaked: Activity com.xxx.xxx has leaked window DecorView@c16f1d7[FaceShapeActivity] that was originally added here

2. 错误原因

应该是Activity中的Dialog,PopupWindow等弹出框在Acitivity关闭的时候,这些弹出框没有关闭造成的;

3. 解决方案

查找Activity中的所有弹出框,关闭即可;

更多推荐