错误:
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 跳转另一个activity时忘记关闭,
解决方法:在ondestory 里面关闭dialog。
参考博客:http://blog.csdn.net/lincyang/article/details/20790893