Could not lock surface java.lang.IllegalArgumentException
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的更多相关文章
- springboot整合mybatis的时候报错Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
今天闲来无事,学习springboot整合mybatis,在bilibili看视频学的,视频中在dao层的interface上面加上org.apache.ibatis.annotations.Mapp ...
- 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 ...
- 严重: Error starting static Resources java.lang.IllegalArgumentException:
严重: Error starting static Resources java.lang.IllegalArgumentException: Document base E:\myworkspace ...
- 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. ...
- 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\ ...
- java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required
java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required 严重: Exceptio ...
- java.lang.IllegalArgumentException: Illegal character in query at index 261
在BaseFragment中使用了LoadingPage,而LoadingPage的联网加载使用的是AsyncHttpClient.一直报java.lang.IllegalArgumentExcept ...
- 在访问jsp时抛java.lang.IllegalArgumentException: Page directive: invalid value for import的原因
问题:java.lang.IllegalArgumentException: Page directive: invalid value for import 环境:tomcat 7.0.65 出错原 ...
- 解决FTP的URL访问不能有中文名称的问题,报java.lang.IllegalArgumentException
最近一个项目要用到FTP做上传下载,我访问ftp的url中有中文名称,结果每次都报如下错: 1 Exception in thread "main" java.lang.Illeg ...
随机推荐
- C# MySQL数据库的备份 还原 初始化
// 执行创建数据库操作 this.GetExecute(G_Con, "create database if not exists NEWDB"); this.sqlAddres ...
- 基于zepto的手机焦点图touchstart touchmove
基于zepto的手机焦点图,查看地址:demo (建议使用手机浏览器查看)代码如下: <!DOCTYPE HTML> <html> <head> <title ...
- PL/SQL块loop..各种循环练习
--利用loop输出1到100的值并求和 ---loop exit end loop set serveroutput on; declare v_i ; v_sum ; begin loop )th ...
- (转)在.net中序列化读写xml方法的总结
阅读目录 开始 最简单的使用XML的方法 类型定义与XML结构的映射 使用 XmlElement 使用 XmlAttribute 使用 InnerText 重命名节点名称 列表和数组的序列化 列表和数 ...
- EF6 Codefirst+MySql 数据库迁移
简介 项目使用MSSql作为数据库,但是因为SQL服务器贵那么一点,并发连接差那么一点,要把数据迁移到MySQL,顺带迁移过程以及问题. 环境 Visual Studio 2013 MySQL 5.7 ...
- git管理修改
为什么Git比其他版本控制系统设计得优秀,因为Git跟踪并管理的是修改,而非文件. 新增了一行,这就是一个修改,删除了一行,也是一个修改,更改了某些字符,也是一个修改,删了一些又加了一些,也是一个修改 ...
- c++试题
一.写一个函数找一个字符串中出现频率最高的字符(若最高的相同,取先出现的) char finchar(const char *str) { ; } ]; , n = ; ; str[i]!=; i++ ...
- Lucene学习之CURD
创建索引 Lucene在进行创建索引时,根据前面一篇博客,已经讲完了大体的流程,这里再简单说下: Directory directory = FSDirectory.open("/tmp/t ...
- Jquery实现图片切换效果(IE,FF,Goole)都可以正常运行
这里先对标签的样式进行设置(我这里只用了3张图片,可以根据自己的情况,添加) <style type="text/css"> /*展示图片切换的div样式*/ #Sho ...
- ApiGen4.1 windows安装教程
一. ApiGen4.1版本介绍 1.ApiGen介绍 ApiGen是自动生成PHP项目的阅读文档工具. 用于从PHP源代码创建专业的API文档,类似于phpDocumentor/phpDoc. Ap ...