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.

Could not lock surface java.lang.IllegalArgumentException的更多相关文章

  1. springboot整合mybatis的时候报错Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required

    今天闲来无事,学习springboot整合mybatis,在bilibili看视频学的,视频中在dao层的interface上面加上org.apache.ibatis.annotations.Mapp ...

  2. hadoop程序问题:java.lang.IllegalArgumentException: Wrong FS: hdfs:/ expected file:///

    Java代码如下: FileSystem fs = FileSystem.get(conf); in = fs.open(new Path("hdfs://192.168.130.54:19 ...

  3. 严重: Error starting static Resources java.lang.IllegalArgumentException:

    严重: Error starting static Resources java.lang.IllegalArgumentException: Document base E:\myworkspace ...

  4. Eclipse启动Tomcat时发生java.lang.IllegalArgumentException: <session-config> element is limited to 1 occurrence

    在学习struts 2时,为了方便,直接从下载的struts的apps目录下的struts2-blank.war压缩包下的WEB-INF\复制的web.xml,当我启动Tomcat时,发生 java. ...

  5. tomcat报错java.lang.IllegalArgumentException: Document base XXXXX does not exist or is not a readable directory

    启动tomcat的时候报如下错误: java.lang.IllegalArgumentException: Document base F:\java\tools\tomcat\me-webapps\ ...

  6. java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required

    java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required 严重: Exceptio ...

  7. java.lang.IllegalArgumentException: Illegal character in query at index 261

    在BaseFragment中使用了LoadingPage,而LoadingPage的联网加载使用的是AsyncHttpClient.一直报java.lang.IllegalArgumentExcept ...

  8. 在访问jsp时抛java.lang.IllegalArgumentException: Page directive: invalid value for import的原因

    问题:java.lang.IllegalArgumentException: Page directive: invalid value for import 环境:tomcat 7.0.65 出错原 ...

  9. 解决FTP的URL访问不能有中文名称的问题,报java.lang.IllegalArgumentException

    最近一个项目要用到FTP做上传下载,我访问ftp的url中有中文名称,结果每次都报如下错: 1 Exception in thread "main" java.lang.Illeg ...

随机推荐

  1. asp.net 树形控件 $.fn.zTree.init

    在网页中通过jquery脚本来构筑树形控件将是一个不错的选择,比如有一个文本框,当鼠标点击的时候,像弹出一个下拉框一样弹出一个树形控件,这似乎是一个不错的控制.下面主要讲讲这种树形控件的实现.为了能使 ...

  2. hibernate-annotation CascadeType.PERSIST不起作用的解决方法

    有如下两个实体类 , Student和Grade 为多对一关系. Student.java @Entity public class Student { private Integer id; pri ...

  3. C语言中两个相等的char值比较 结果为false

    unsigned char appendChar1[] = {0xD3, 0xD0, 0xCF, 0xDE, 0xB9, 0xAB, 0xCB, 0xBE}; char appendChar2[] = ...

  4. 浏览器的重绘repaints与重排reflows深入分析

    重绘是一个元素外观的改变所触发的浏览器行为,浏览器会根据元素的新属性重新绘制,使元素呈现新的外观,接下来将详细介绍,需要了解的朋友可以参考下: 在项目的交互或视觉评审中,前端同学常常会对一些交互效果质 ...

  5. 【译】Optimize caching-缓存优化

    缓存优化 大部分的网页都包括不常更改的资源,比如CSS文件,图片文件,JavaScript文件等.这些资源通过网络下载需要一定的时间,这就增加了网页加载的总时间.HTTP缓存可以让这些资源通过浏览器以 ...

  6. webpack 多入口配置

    同事套搭建vue项目,个人推荐了VUE官网的vue-cil的方式,http://cn.vuejs.org/guide/application.html 顺着官网的操作,我们可以本地测试起我们的项目 n ...

  7. Google TensorFlow深度学习笔记

    Google Deep Learning Notes Google 深度学习笔记 由于谷歌机器学习教程更新太慢,所以一边学习Deep Learning教程,经常总结是个好习惯,笔记目录奉上. Gith ...

  8. HTML5新属性-----拖放

    最早引入JS拖放功能的是IE4,当时,网页中只有两种对象可以拖放:图像和某些文本.拖动图像时,把鼠标放在图像上,按住鼠标不放就可以拖动它.拖动文本时,需要选中文本,然后可以像拖动图像一样拖动被选中的文 ...

  9. Static Function Test

    public class StaticTestCls { public int x = 0; public static int y = 0; private void SetValue_Object ...

  10. VS2012编译错误信息,错误列表却没显示

    今天在写代码的时候,发现VS有编译错误,在错误列表里面却没有显示错误信息,百思不得其解. 后来终于发现,错误列表弄了个筛选,所以就看不到错误信息了,晕死.有遇到该问题的,可以参考下.