java.lang.IllegalStateException: Can't copy a recycled bitmap


Solutions on the web

Solution icon of github
via GitHub by Gi0rgi0s
, 9 months ago
Can't copy a recycled bitmap

Solution icon of github
via GitHub by styrken
, 1 year ago
Can't copy a recycled bitmap

Solution icon of stackoverflow
Can't copy a recycled bitmap

Solution icon of github
via GitHub by TommyVisic
, 1 year ago
Can't copy a recycled bitmap

Solution icon of github
via GitHub by Zspecial
, 1 year ago
Can't copy a recycled bitmap

Solution icon of github
via GitHub by xtools-at
, 1 year ago
Can't copy a recycled bitmap

Solution icon of github
via GitHub by rini-m
, 1 year ago
Can't copy a recycled bitmap

Solution icon of github
Can't copy a recycled bitmap

Solution icon of github
via GitHub by daedamr
, 6 months ago
Can't copy a recycled bitmap

Solution icon of github
Can't copy a recycled bitmap

Stack trace

java.lang.IllegalStateException: Can't copy a recycled bitmap
	at android.graphics.Bitmap.checkRecycled(Bitmap.java:345)
	at android.graphics.Bitmap.copy(Bitmap.java:554)
	at android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase.cloneMetadataIfNeeded(MediaSessionCompat.java:1296)
	at android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase.setMetadata(MediaSessionCompat.java:1311)
	at android.support.v4.media.session.MediaSessionCompat.setMetadata(MediaSessionCompat.java:404)
	at com.google.android.libraries.cast.companionlibrary.cast.VideoCastManager.updateMediaSessionMetadata(VideoCastManager.java:2387)
	at com.google.android.libraries.cast.companionlibrary.cast.VideoCastManager.onRemoteMediaPlayerMetadataUpdated(VideoCastManager.java:2131)
	at com.google.android.libraries.cast.companionlibrary.cast.VideoCastManager$24.onMetadataUpdated(VideoCastManager.java:1819)
	at com.google.android.gms.cast.RemoteMediaPlayer.onMetadataUpdated(Unknown Source)
	at com.google.android.gms.cast.RemoteMediaPlayer.zzb(Unknown Source)
	at com.google.android.gms.cast.RemoteMediaPlayer$1.onMetadataUpdated(Unknown Source)
	at com.google.android.gms.cast.internal.zzm.zza(Unknown Source)
	at com.google.android.gms.cast.internal.zzm.zzbZ(Unknown Source)
	at com.google.android.gms.cast.RemoteMediaPlayer.onMessageReceived(Unknown Source)
	at com.google.android.gms.cast.internal.zze$zzb$4.run(Unknown Source)
	at android.os.Handler.handleCallback(Handler.java:733)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:136)
	at android.app.ActivityThread.main(ActivityThread.java:5105)
	at java.lang.reflect.Method.invokeNative(Method.java)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
	at dalvik.system.NativeStart.main(NativeStart.java)

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

28 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1200 times, 1 year ago
3 more bugmates