Android 关闭应用程序后出现 HWUI 错误

Android HWUI error after closing an app

当我关闭我的应用程序时,我在 Android 监视器中收到以下错误。我尝试了一些我找到的解决方案,但 none 接缝工作。我正在使用 Android Studio。


    E/OpenGLRenderer: SFEffectCache:clear(), mSize = 0
    E/libEGL: ------------------------------------------------
    E/libEGL: HWUI Context(-2092265728) Damaged Report-Shader
    E/libEGL: HWUI   Shaders(3):
    E/libEGL: HWUI     Unit 0) Handle(17)
    E/libEGL: HWUI     Unit 1) Handle(19)
    E/libEGL: HWUI     Unit 2) DAMAGED Handle(24)
    E/libEGL: ------------------------------------------------
    E/libGLESv2: HWUI Protection: wrong calling from app context F:ES2-glDeleteShader, handle(24)
    E/libEGL: ------------------------------------------------
    E/libEGL: HWUI Context(-2092265728) Damaged Report-Shader
    E/libEGL: HWUI   Shaders(3):
    E/libEGL: HWUI     Unit 0) DAMAGED Handle(17)
    E/libEGL: HWUI     Unit 1) Handle(19)
    E/libEGL: HWUI     Unit 2) Handle(24)
    E/libEGL: ------------------------------------------------
    E/libGLESv2: HWUI Protection: wrong calling from app context F:ES2-glDeleteShader, handle(17)
    E/libEGL: ------------------------------------------------
    E/libEGL: HWUI Context(-2092265728) Damaged Report-Shader
    E/libEGL: HWUI   Shaders(3):
    E/libEGL: HWUI     Unit 0) Handle(17)
    E/libEGL: HWUI     Unit 1) DAMAGED Handle(19)
    E/libEGL: HWUI     Unit 2) Handle(24)
    E/libEGL: ------------------------------------------------
    E/libGLESv2: HWUI Protection: wrong calling from app context F:ES2-glDeleteShader, handle(19)

您正在更新您的 ui(可能是一些动画或图形相关的工作)并且您没有取消它,如果一些工作被汇集到 opengles 硬件但更新的接收者可能是 gc,就会发生这种情况'ed 或不存在