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. js正则判断电话/手机/邮箱/

    用途:校验ip地址的格式 输入:strIP:ip地址返回:如果通过验证返回true,否则返回false:*/ function isIP(strIP) { if (isNull(strIP)) ret ...

  2. VS 调试Window Server方法

    在需要调试的地方加 Debugger.Launch();然后在本机安装服务并启动即可进入

  3. Hadoop数据操作系统YARN全解析

    “ Hadoop 2.0引入YARN,大大提高了集群的资源利用率并降低了集群管理成本.其在异构集群中是怎样应用的?Hulu又有哪些成功实践可以分享? 为了能够对集群中的资源进行统一管理和调度,Hado ...

  4. Java多线程并发编程之原子变量与非阻塞同步机制

    1.非阻塞算法 非阻塞算法属于并发算法,它们可以安全地派生它们的线程,不通过锁定派生,而是通过低级的原子性的硬件原生形式 -- 例如比较和交换.非阻塞算法的设计与实现极为困难,但是它们能够提供更好的吞 ...

  5. JavaScript基本概念(数组)

    1.数组方法 /** * join(str) * 将数组元素转换为字符串并使用参数中的字符串将各字符串链接起来 */ var a = [1, 2, 3]; a.join(); // "1,2 ...

  6. java 和 Python 的互调

    http://www.cnblogs.com/lmyhao/p/3363385.html http://blog.csdn.net/wxiaow9000/article/details/5166029 ...

  7. python运维开发(六)----模块续

    内容目录 反射 模块 os模块 sys模块 md5加密模块 re正则匹配模块 configparse模块 xml模块 shutil模块 subprocess模块 反射 利用字符串的形式去对象(模块)中 ...

  8. QT5中QString与char *的相互转换

    以例子说明: #include <QApplication> #include <QDebug> #include <QString> #include <Q ...

  9. Amazon MWS 上传数据 (一) 设置服务

    Amazon 上传数据的流程为: 通过 SubmitFeed 操作.加密标头和所有必需的元数据(包括 FeedType 的值在内),来提交 XML 或文本型数据文件.正如亚马逊 MWS的所有提交内容一 ...

  10. POC- Proof of Cocept -- 概念验证

    POC,是Proof of Concept的缩写,意思是为观点提供证据,它是一套建议的电子模型,实例化代码,它可用于论证团队和客户的设计,允许评估和确认概念设计方案,POC的评价可能引起规格和设计的调 ...