How to catch error 'Bitmap too large to be uploaded into a texture'

后端 未结 2 1690
感动是毒
感动是毒 2021-01-12 17:07

My android application handles very large Bitmaps. Because of this, I turned hardware-acceleration off on the image views. However, some users have set the Developer-Option

2条回答
  •  迷失自我
    2021-01-12 17:55

    I have not worked with OpenGL on Android and therefore dont know is there is anything special one must do to catch uncaught exceptions or error. You could try to register a global exception handler and check if you are able to catch the OpenGL error there.

提交回复
热议问题