在项目中遇到WindowManager: Activity has leaked window问题,其实在stackoverflow.com可以找到详细答案:http://stackoverflow.com/questions/2850573/activity-has-leaked-window-that-was-originally-added. 最佳答案:You're trying to show a Dialog after you've exited an Activity. 原因分析…