android 4.4.4的设备运行一段时间后卡住不动了
4.4.4的设备。在界面中有重复播放广告。用的exoplayer。程序一直使用一段时间之后出现应用卡住,也没有等待响应这种弹出框,就是卡住不动了。log异常如下:
09-09 14:32:53.642: E/ViewRootImpl(760): Could not lock surface
09-09 14:32:53.642: E/ViewRootImpl(760): java.lang.IllegalArgumentException
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.Surface.nativeLockCanvas(Native Method)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.Surface.lockCanvas(Surface.java:247)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2440)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.ViewRootImpl.draw(ViewRootImpl.java:2414)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2258)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1888)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1005)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5609)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.Choreographer.doCallbacks(Choreographer.java:574)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.Choreographer.doFrame(Choreographer.java:544)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.os.Handler.handleCallback(Handler.java:733)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.os.Handler.dispatchMessage(Handler.java:95)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.os.Looper.loop(Looper.java:136)
09-09 14:32:53.642: E/ViewRootImpl(760): at android.app.ActivityThread.main(ActivityThread.java:5001)
09-09 14:32:53.642: E/ViewRootImpl(760): at java.lang.reflect.Method.invokeNative(Native Method)
09-09 14:32:53.642: E/ViewRootImpl(760): at java.lang.reflect.Method.invoke(Method.java:515)
09-09 14:32:53.642: E/ViewRootImpl(760): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:736)
09-09 14:32:53.642: E/ViewRootImpl(760): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:570)
09-09 14:32:53.642: E/ViewRootImpl(760): at dalvik.system.NativeStart.main(Native Method)
09-09 14:32:53.652: E/Surface(760): dequeueBuffer failed (Invalid argument)
完全摸不着头脑,网上查了,是有相关的错误,不过没有一个解决办法。改过硬件加速为false,没有作用。
相关阅读:
怎样看待前端实习生被要求学安卓开发
idea 有什么好用的格式化插件么?
请问react怎样把下面的tableConfig数组遍历出来
pybloomfilter 在python3 中是否无法使用
项目交接,这个该怎么表达,就说这个就是刷新的功能吗?当初是模仿案例写的,不清楚它实现的方法?可以给点提示吗
electron里的require('electron').app只能在main.js里使用?
在linux下编译opencv报错
【求助】用php怎么把这个mysql下的两个表进行关联?
jquery 获取元素集的索引值问题
金额,保留两位小数,四舍五入
js或者jquery如何实现鼠标上下滑动轮播?
大家帮我看一下这个JS输出的题目,蒙圈中。。。。
php中这个mysql语句的语法怎么处理?
使用typescript2和electron时遇到的tsd问题
ObjectAnimator动画报错
高德地图定位如何调用api?
Vue2模板动态绑定attr
pycharm 如何折叠if语句?
selenium2.53.1启动火狐47.0报错
我想问问就是帖子内或者回复内at别人的功能如何实现?