Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Android has some problem with big images, so, probably, the image you're trying to use is too big for Canvas. You can either use Picasso or compress your image to reduce it's size (both pixel wise and filesize wise)

  2. ,
    via github.com by Unknown author

    Picasso or Glide takes more time for to load big image,ya its true you can resize image in Picasso or Glide,but its resolution will not be good at all,you can compress image before load into Picasso or Glide.or same for upload to server for reduce time.

Solutions on the web

via GitHub by huashigen
, 11 months ago
Error during attachToGLContext (see logcat for details)
via GitHub by yuxinLi
, 8 months ago
Error during detachFromGLContext (see logcat for details)
via GitHub by qq574259582
, 8 months ago
Error during detachFromGLContext (see logcat for details)
via GitHub by 103king
, 1 year ago
Error during detachFromGLContext (see logcat for details)
via Stack Overflow by mario
, 2 years ago
Error during attachToGLContext (see logcat for details)
via GitHub by gaodengjiaoyu
, 8 months ago
Error during detachFromGLContext (see logcat for details)
java.lang.RuntimeException: Error during attachToGLContext (see logcat for details)	at android.graphics.SurfaceTexture.attachToGLContext(SurfaceTexture.java:215)	at android.view.GLES20TextureLayer.setSurfaceTexture(GLES20TextureLayer.java:86)	at android.view.HardwareRenderer$Gl20Renderer.setSurfaceTexture(HardwareRenderer.java:2221)	at android.view.TextureView.getHardwareLayer(TextureView.java:401)	at android.view.View.getDisplayList(View.java:13328)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.getDisplayList(View.java:13357)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.draw(View.java:14468)	at android.view.View.getDisplayList(View.java:13362)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.getDisplayList(View.java:13357)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.getDisplayList(View.java:13357)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.draw(View.java:14468)	at android.widget.FrameLayout.draw(FrameLayout.java:472)	at android.widget.ScrollView.draw(ScrollView.java:1603)	at android.view.View.getDisplayList(View.java:13362)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.getDisplayList(View.java:13357)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.draw(View.java:14468)	at android.widget.FrameLayout.draw(FrameLayout.java:472)	at android.view.View.getDisplayList(View.java:13362)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.draw(View.java:14468)	at android.support.v7.widget.ActionBarOverlayLayout.draw(ActionBarOverlayLayout.java:444)	at android.view.View.getDisplayList(View.java:13362)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.getDisplayList(View.java:13357)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.getDisplayList(View.java:13357)	at android.view.View.getDisplayList(View.java:13404)	at android.view.View.draw(View.java:14182)	at android.view.ViewGroup.drawChild(ViewGroup.java:3103)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)	at android.view.View.draw(View.java:14468)	at android.widget.FrameLayout.draw(FrameLayout.java:472)