New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap #24
Comments
Thank you for your report. This really is a bug in the code. Will fix it. |
Do you think we should search and check all |
i checked other places where recycle is used. Those seemed okay. |
I face this type of crash in my app please suggest me: at android.widget.ListView.layoutChildren (ListView.java:1618) at android.widget.AbsListView$CheckForTap.run (AbsListView.java:3457) at android.os.Handler.handleCallback (Handler.java:751) at android.os.Handler.dispatchMessage (Handler.java:95) at android.os.Looper.loop (Looper.java:154) at android.app.ActivityThread.main (ActivityThread.java:6195) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:874) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:764) |
From the SDK documentation http://developer.android.com/reference/android/graphics/Bitmap.html#createScaledBitmap(android.graphics.Bitmap, int, int, boolean):
I think this error will be happen when the specified width and height are the same as the current width and height of the source bitmap.
Should become this:
The text was updated successfully, but these errors were encountered: