Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

修复4.4以下部分设备全屏崩溃问题 #1140

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ldy441040480
Copy link

crash: Error during detachFromGLContext

@lipangit
Copy link
Owner

非常感谢,能给我讲讲原因吗

@ldy441040480
Copy link
Author

原因还是系统bug,我自己都不懂,尝试解决就成功了。。

@lipangit
Copy link
Owner

lipangit commented Sep 9, 2017

这版本我会尽快合并

@lipangit
Copy link
Owner

lipangit commented Oct 5, 2017

哥们,能讲讲修复这个bug的本质吗,最最核心的代码是哪行或者哪几行

@lipangit
Copy link
Owner

lipangit commented Oct 5, 2017

image

以前我也是这么写的,好像测试出了点问题,如果视频准备完成要播放了这时候surface还没生成就会出现问题,这块必须这么做吗

@bifan-wei
Copy link

还有会出现这个问题

@dinhtrungvn92
Copy link

Same error, but I got log like below. Please take a look and give me suggestion:

Caused by: java.lang.RuntimeException: Error during detachFromGLContext (see logcat for details)
at android.graphics.SurfaceTexture.detachFromGLContext(SurfaceTexture.java:180)
at android.view.TextureView.destroySurface(TextureView.java:232)
at android.view.TextureView.access$000(TextureView.java:105)
at android.view.TextureView$1.run(TextureView.java:220)
at android.view.HardwareRenderer$Gl20Renderer.safelyRun(HardwareRenderer.java:2014)
at android.view.TextureView.onDetachedFromWindow(TextureView.java:217)
at android.view.View.dispatchDetachedFromWindow(View.java:12170)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2573)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2573)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2573)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2573)
at android.view.ViewGroup.removeViewInternal(ViewGroup.java:3799)
at android.view.ViewGroup.removeViewAt(ViewGroup.java:3748)
at android.support.v7.widget.RecyclerView$5.removeViewAt(RecyclerView.java:732)
at android.support.v7.widget.ChildHelper.removeViewAt(ChildHelper.java:168)
at android.support.v7.widget.RecyclerView$LayoutManager.removeViewAt(RecyclerView.java:7915)
at android.support.v7.widget.RecyclerView$LayoutManager.removeAndRecycleViewAt(RecyclerView.java:8187)
at android.support.v7.widget.LinearLayoutManager.recycleChildren(LinearLayoutManager.java:1363)
at android.support.v7.widget.LinearLayoutManager.recycleViewsFromStart(LinearLayoutManager.java:1409)

Thanks!

@lipangit
Copy link
Owner

兄弟,这个就给别人参考了,4.4要放弃了

@lipangit
Copy link
Owner

你好,咱们项目推出数字通证饺子token,https://github.com/lipangit/JZT, 给所有提交过pr的朋友30000个JZT,表示对你过去对项目支持的感谢。
请下载币威钱包https://www.bitcv.app/,把里面的以太坊地址给我,币威的地址站内转账不需要手续费。这东西值不值钱不重要,玩的是信仰。
Hello, let's launch the JiaoZiToken, https://github.com/lipangit/JZT, and give all the friends who submitted pr 30,000 JZT, thank you for your support of the project.
Please download the coin wallet https://www.bitcv.app/ and give me the address of the Ethereum. There is no charge for transferring money at the address station. It is not important that the value of this thing is worthless. It is faith.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants