08-07 14:46:33.795: E/Surface(4927): dequeueBuffer failed (Invalid argument) 08-07 14:46:33.800: E/ViewRootImpl(4927): Could not lock surface 08-07 14:46:33.800: E/ViewRootImpl(4927): java.lang.IllegalArgumentException 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.Surface.nativeLockCanvas(Native Method) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.Surface.lockCanvas(Surface.java:266) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2555) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.ViewRootImpl.draw(ViewRootImpl.java:2507) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2343) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1966) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1058) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5974) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:780) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.Choreographer.doCallbacks(Choreographer.java:593) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.Choreographer.doFrame(Choreographer.java:562) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:766) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.os.Handler.handleCallback(Handler.java:733) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.os.Handler.dispatchMessage(Handler.java:95) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.os.Looper.loop(Looper.java:136) 08-07 14:46:33.800: E/ViewRootImpl(4927): at android.app.ActivityThread.main(ActivityThread.java:5314) 08-07 14:46:33.800: E/ViewRootImpl(4927): at java.lang.reflect.Method.invokeNative(Native Method) 08-07 14:46:33.800: E/ViewRootImpl(4927): at java.lang.reflect.Method.invoke(Method.java:515) 08-07 14:46:33.800: E/ViewRootImpl(4927): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) 08-07 14:46:33.800: E/ViewRootImpl(4927): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680) 08-07 14:46:33.800: E/ViewRootImpl(4927): at dalvik.system.NativeStart.main(Native Method) 08-07 14:46:33.805: E/InputChannel-JNI(4927): Error 24 dup channel fd 133.
安卓系统级别的bug ,在4.4 和 4.4.2中,其中的一个解决方案:
android:hardwareAccelerated="false" in the Manifest fixes the crash. Nevertheless this causes other strange behaviours in my App.
时间: 2024-10-27 13:40:07