看了标题:这个不就是窗体泄露么,这么简单的问题,还悬赏, 先别急着下定论!
错误代码如下:
WindowManager: android.view.WindowLeaked: Activity com.wcyq.gangrong.ui.activity.SplashActivity has leaked window DecorView@dea56c0[SplashActivity] that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:485)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at com.android.internal.policy.PhoneWindow.openPanel(PhoneWindow.java:886)
at com.android.internal.policy.PhoneWindow.onKeyUpPanel(PhoneWindow.java:1103)
at com.android.internal.policy.PhoneWindow.onKeyUp(PhoneWindow.java:2012)
at com.android.internal.policy.DecorView.dispatchKeyEvent(DecorView.java:362)
at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4733)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4605)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4147)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4200)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4166)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4293)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4174)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4350)