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 Emasoft
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@f41b99a
via GitHub by Eilhart
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@13aa7fd
via GitHub by pauliktamas
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@342ab43
via Stack Overflow by padma prabha
, 11 months ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@31a3918
via GitHub by 523931340
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@6d2f883
via Stack Overflow by BugKiss
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@2e09f030
java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@f41b99a	at android.graphics.Canvas.throwIfCannotDraw(Canvas.java:1270)	at android.graphics.Canvas.drawBitmap(Canvas.java:1404)	at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:544)	at android.widget.ImageView.onDraw(ImageView.java:1244)	at android.view.View.draw(View.java:16178)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16181)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.widget.ListView.drawChild(ListView.java:3416)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.widget.AbsListView.dispatchDraw(AbsListView.java:2591)	at android.widget.ListView.dispatchDraw(ListView.java:3411)	at android.view.View.draw(View.java:16181)	at android.widget.AbsListView.draw(AbsListView.java:4142)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16181)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16181)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16181)	at com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:2690)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:281)	at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:287)	at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:322)	at android.view.ViewRootImpl.draw(ViewRootImpl.java:2615)	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2434)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2067)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)	at android.view.Choreographer.doCallbacks(Choreographer.java:670)	at android.view.Choreographer.doFrame(Choreographer.java:606)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5417)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)