5
回答
BitmapUtils Could not lock surface

@wyouflf 你好,想跟你请教个问题:

xutils 的 BitmapUtils , 列表快速上下滑动,会卡死 报错:

03-13 11:02:10.206: E/Surface(18201): dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -2147483646
03-13 11:02:10.206: E/Surface(18201): dequeueBuffer failed (Unknown error 2147483646)
03-13 11:02:10.206: E/ViewRootImpl(18201): Could not lock surface
03-13 11:02:10.206: E/ViewRootImpl(18201): java.lang.IllegalArgumentException
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.Surface.nativeLockCanvas(Native Method)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.Surface.lockCanvas(Surface.java:249)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2723)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.ViewRootImpl.draw(ViewRootImpl.java:2697)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2535)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2151)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1246)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6350)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.Choreographer.doCallbacks(Choreographer.java:591)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.Choreographer.doFrame(Choreographer.java:561)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.os.Handler.handleCallback(Handler.java:730)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.os.Handler.dispatchMessage(Handler.java:92)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.os.Looper.loop(Looper.java:137)
03-13 11:02:10.206: E/ViewRootImpl(18201): at android.app.ActivityThread.main(ActivityThread.java:5419)
03-13 11:02:10.206: E/ViewRootImpl(18201): at java.lang.reflect.Method.invokeNative(Native Method)
03-13 11:02:10.206: E/ViewRootImpl(18201): at java.lang.reflect.Method.invoke(Method.java:525)
03-13 11:02:10.206: E/ViewRootImpl(18201): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
03-13 11:02:10.206: E/ViewRootImpl(18201): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
03-13 11:02:10.206: E/ViewRootImpl(18201): at dalvik.system.NativeStart.main(Native Method)


<无标签>
举报
WittLiu
发帖于4年前 5回/2K+阅
顶部