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

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 Stack Overflow by BugKiss
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@2e09f030
via Stack Overflow by chitra
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@9e161c3
via GitHub by Emasoft
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@f41b99a
via Stack Overflow by Jishnu Mk
, 2 years ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@c0446aa
via GitHub by pauliktamas
, 1 year ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@342ab43
via GitHub by Qamar4P
, 7 months ago
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@f4db2e9
java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@2e09f030
at android.graphics.Canvas.throwIfCannotDraw(Canvas.java:1282)
at android.graphics.Canvas.drawBitmap(Canvas.java:1416)
at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:539)
at android.widget.TextView.onDraw(TextView.java:5414)
at android.view.View.draw(View.java:15305)
at android.view.View.draw(View.java:15214)
at android.view.ViewGroup.drawChild(ViewGroup.java:3414)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3205)
at android.view.View.draw(View.java:15308)
at android.view.View.draw(View.java:15214)
at android.view.ViewGroup.drawChild(ViewGroup.java:3414)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3205)
at android.view.View.draw(View.java:15212)
at android.view.ViewGroup.drawChild(ViewGroup.java:3414)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3205)
at android.view.View.draw(View.java:15212)
at android.view.ViewGroup.drawChild(ViewGroup.java:3414)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3205)
at android.view.View.draw(View.java:15212)
at android.view.ViewGroup.drawChild(ViewGroup.java:3414)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3205)
at android.view.View.draw(View.java:15308)
at android.widget.FrameLayout.draw(FrameLayout.java:598)
at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2779)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2685)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2425)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2048)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1105)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6204)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:799)
at android.view.Choreographer.doCallbacks(Choreographer.java:612)
at android.view.Choreographer.doFrame(Choreographer.java:581)
at android.view.Choreographer$FrameHandler.handleMessage(Choreographer.java:714)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5669)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)

Users with the same issue

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

Write tip

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