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写的复制功能,只支持IE

    如果用js写,只能支持IE,如果想全支持,需要用jQuery的插件:jquery.zclip.js 下面是用js写的: var copyHref = function(){               ...

  2. 解决VS2010批量替换时经常由于内存较低而导致VS2010自动关闭的问题

    尊重原著作:本文转载自http://www.cnblogs.com/Sharping/p/3165527.html 情况描述 在使用VS2010 开发Web应用程序的时候,批量替换时经常卡死关闭. 一 ...

  3. Java log4j的环境搭建

    一.Log4j是什么? Log4j是Apache的一个开源代码项目,通过使用Log4j,我们可以控制日志信息输出的目的地.最常见的就是输出到控制台或者日志文件.同时,它强大的一点是可以在C.C++等其 ...

  4. linux 让一个程序开机自启动并把一个程序加为服务

    本文以tomcat7为例 首先找到tomcat启动的目录,我的为 cd /usr/local/tomcat7/bin/ 这个目录 启动脚本是startup.sh 然后在/etc/rc.d/rc.loc ...

  5. 通宵疯狂积累VB.NET基础知识

    VB.NET中Module的概念 为什么VB.NET中会有一个Module的东西,而在C#等语言中是没有的 首先,这是一个历史原因.早先的VB语言都有模块和类模块的概念.所谓模块一般就是存放公用的一些 ...

  6. linux----LAMP之编译安装apache

    第一步:解决依赖.安装apr.apr-util. apr-1.5.4.tar.gz下载地址:http://yunpan.cn/cFBzgsC3rDcyR  访问密码 4c82 apr-util-1.5 ...

  7. Catalog和Schema

    http://www.codeweblog.com/database-schema-and-catalog/ http://blog.sina.com.cn/s/blog_515015800100et ...

  8. 数据库设计与SQL优化的建议

    1. 用程序中,保证在实现功能的基础上,尽量减少对数据库的访问次数:通过搜索参数,尽量减少对表的访问行数,最小化结果集,从而减轻网络负担:能够分开的操作尽量分开处理,提高每次的响应速度:在数据窗口使用 ...

  9. SEO高手在扯蛋?

    真正的高手SEO你在扯蛋吗?当大家都很会扯的时候,高手扯得肯定比你疼,不是他们 蛋比较敏感,而是他们的确更用力. 当你说我是SEO时,高手肯定说现在我在做的是SEM. 当你说我是SEM时,高手肯定在说 ...

  10. CSS实现页面背景自动切换功能

    From here:http://xiaomiya.iteye.com/blog/2047728 请看效果图: 完整代码如下: <!DOCTYPE HTML> <html> & ...