java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@14029702

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by chainani
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@14029702
via GitHub by blFeedbackBot
, 2 years ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@43107cf0
via GitHub by Tolriq
, 2 years ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@33ac1436
via GitHub by blFeedbackBot
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@18fb7095
via GitHub by SyllaJay
, 2 years ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4368df60
via Stack Overflow by Mulgard
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@304b6f70
java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@14029702
at android.graphics.Canvas.throwIfCannotDraw(Canvas.java:1225)
at android.view.GLES20Canvas.drawBitmap(GLES20Canvas.java:600)
at android.widget.ImageView.onDraw(ImageView.java:1227)
at android.view.View.draw(View.java:15210)
at android.view.View.updateDisplayListIfDirty(View.java:14144)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.updateDisplayListIfDirty(View.java:14139)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.draw(View.java:15213)
at android.view.View.updateDisplayListIfDirty(View.java:14144)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.updateDisplayListIfDirty(View.java:14139)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1131)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.draw(View.java:15213)
at android.view.View.updateDisplayListIfDirty(View.java:14144)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.updateDisplayListIfDirty(View.java:14139)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.updateDisplayListIfDirty(View.java:14139)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.updateDisplayListIfDirty(View.java:14139)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.updateDisplayListIfDirty(View.java:14139)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.updateDisplayListIfDirty(View.java:14139)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.updateDisplayListIfDirty(View.java:14139)
at android.view.View.getDisplayList(View.java:14167)
at android.view.View.draw(View.java:14934)
at android.view.ViewGroup.drawChild(ViewGroup.java:3410)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3204)
at android.view.View.draw(View.java:15213)
at android.widget.FrameLayout.draw(FrameLayout.java:592)
at android.view.View.updateDisplayListIfDirty(View.java:14144)
at android.view.View.getDisplayList(View.java:14167)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:301)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:307)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:346)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2641)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2464)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2062)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1106)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6018)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:792)
at android.view.Choreographer.doCallbacks(Choreographer.java:596)
at android.view.Choreographer.doFrame(Choreographer.java:557)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:778)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5696)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.