12-16 14:54:26.341: ERROR/SurfaceFlinger(1058): Layer::requestBuffer(this=0x2ce328), index=0, w=800, h=420 failed (Out of memory)
12-16 14:54:26.341: ERROR/Surface(1058): Surface (identity=3) requestBuffer(0, 00000033) returneda buffer with a null handle
12-16 14:54:26.341: ERROR/Surface(1058): getBufferLocked(0, 00000033) failed (Out of memory)
12-16 14:54:26.341: ERROR/Surface(1058): dequeueBuffer failed (Out of memory)
12-16 14:54:26.341: ERROR/ViewRoot(1058): OutOfResourcesException locking surface
12-16 14:54:26.341: ERROR/ViewRoot(1058): android.view.Surface$OutOfResourcesException
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.Surface.lockCanvasNative(Native Method)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.Surface.lockCanvas(Surface.java:314)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.ViewRoot.draw(ViewRoot.java:1341)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.ViewRoot.performTraversals(ViewRoot.java:1163)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.ViewRoot.handleMessage(ViewRoot.java:1727)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.os.Handler.dispatchMessage(Handler.java:99)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.os.Looper.loop(Looper.java:123)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at com.android.server.ServerThread.run(SystemServer.java:531)
12-16 14:54:26.341: ERROR/Surface(1058): Surface (identity=3) requestBuffer(0, 00000033) returneda buffer with a null handle
12-16 14:54:26.341: ERROR/Surface(1058): getBufferLocked(0, 00000033) failed (Out of memory)
12-16 14:54:26.341: ERROR/Surface(1058): dequeueBuffer failed (Out of memory)
12-16 14:54:26.341: ERROR/ViewRoot(1058): OutOfResourcesException locking surface
12-16 14:54:26.341: ERROR/ViewRoot(1058): android.view.Surface$OutOfResourcesException
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.Surface.lockCanvasNative(Native Method)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.Surface.lockCanvas(Surface.java:314)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.ViewRoot.draw(ViewRoot.java:1341)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.ViewRoot.performTraversals(ViewRoot.java:1163)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.view.ViewRoot.handleMessage(ViewRoot.java:1727)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.os.Handler.dispatchMessage(Handler.java:99)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at android.os.Looper.loop(Looper.java:123)
12-16 14:54:26.341: ERROR/ViewRoot(1058): at com.android.server.ServerThread.run(SystemServer.java:531)
解决方案 »
- android 4.0原码编译,qemu: could not load initrd 'ramdisk.img'
- 短消息监听 BroadcastReceiver实现 与 Service实现
- 困扰了我好几天让我都有些抓狂的如何实例化动态创建的checkbox问题,跪求达人帮忙!!!
- 通过Tab的tag查找
- android 布局,有没有类似mfc 中groupbox的控件
- DDMS中的file explorer查看不了SD卡的信息
- 关于侧滑的实现
- 排序不对怎么回事高手快来
- 关于二维码扫描的转码
- 华为手机锁屏后进入休眠状态,接收不到广播信息
- 救命了,插入数据就报错SQLiteReadOnlyDatabaseException
- 新手求教怎么在电脑上配置安卓虚拟机和安卓编译环境
是不是在其他线程里面更新ui了?
强制换成ORIENTATION_LANDSCAPE试试