java.lang.RuntimeException

Canvas: trying to use a recycled bitmap android.graphics.Bitmap@6139d6d

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web105

  • via GitHub by spyhunter99
    ,
  • via GitHub by raulperez
    ,
  • via GitHub by kalkrishnan
    ,
  • Stack trace

    • java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@6139d6d at android.graphics.Canvas.throwIfCannotDraw(Canvas.java:1270) at android.graphics.Canvas.drawBitmap(Canvas.java:1325) at org.osmdroid.views.overlay.mylocation.MyLocationNewOverlay.drawMyLocation(MyLocationNewOverlay.java:259) at org.osmdroid.views.overlay.mylocation.MyLocationNewOverlay.draw(MyLocationNewOverlay.java:323) at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:134) at org.osmdroid.views.MapView.dispatchDraw(MapView.java:1076) at android.view.View.updateDisplayListIfDirty(View.java:15279)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Agócs TamásAgócs Tamás
    4 times, last one
    Saravana Kumar ChinnarajSaravana Kumar Chinnaraj
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    1 more bugmates