不幸的是,应用程序在几个小时后停止了

时间:2016-11-04 02:29:21

标签: java android

11-04 13:15:53.340 28940-28940/com.xxxxx.xxxx E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!
11-04 13:15:53.360 28940-28940/com.xxxxx.xxxx E/AndroidRuntime: FATAL EXCEPTION: main
             java.lang.RuntimeException: Adding window failed
                 at android.view.ViewRootImpl.setView(ViewRootImpl.java:491)
                 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:301)
                 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215)
                 at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:140)
                 at android.view.Window$LocalWindowManager.addView(Window.java:537)
                 at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2507)
                 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1986)
                 at android.app.ActivityThread.access$600(ActivityThread.java:123)
                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
                 at android.os.Handler.dispatchMessage(Handler.java:99)
                 at android.os.Looper.loop(Looper.java:137)
                 at android.app.ActivityThread.main(ActivityThread.java:4424)
                 at java.lang.reflect.Method.invokeNative(Native Method)
                 at java.lang.reflect.Method.invoke(Method.java:511)
                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
                 at dalvik.system.NativeStart.main(Native Method)
                 Caused by: android.os.TransactionTooLargeException
                 at android.os.BinderProxy.transact(Native Method)
                 at android.view.IWindowSession$Stub$Proxy.add(IWindowSession.java:516)
                 at android.view.ViewRootImpl.setView(ViewRootImpl.java:481)
                 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:301) 
                 at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215) 
                 at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:140) 
                 at android.view.Window$LocalWindowManager.addView(Window.java:537) 
                 at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2507) 
                 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1986) 
                 at android.app.ActivityThread.access$600(ActivityThread.java:123) 
                 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) 
                 at android.os.Handler.dispatchMessage(Handler.java:99) 
                 at android.os.Looper.loop(Looper.java:137) 
                 at android.app.ActivityThread.main(ActivityThread.java:4424) 
                 at java.lang.reflect.Method.invokeNative(Native Method) 
                 at java.lang.reflect.Method.invoke(Method.java:511) 
                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 
                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 
                 at dalvik.system.NativeStart.main(Native Method) 

当我将应用程序打开几个小时并回来使用它时,我收到此错误。如果你继续使用它我会很完美。但如果我离开它几个小时然后回来,它说不幸的是该应用程序已停止。

我无法弄清楚造成这种情况的原因。

0 个答案:

没有答案