glide icon indicating copy to clipboard operation
glide copied to clipboard

Vector Drawables fail to load when disk caching is enabled

Open saket opened this issue 2 years ago • 1 comments
trafficstars

Glide Version: 4.15.1

Device/Android Version: Pixel 7 Emulator, API 31

Issue details / Repro steps / Use case background: When disk caching is enabled, Glide fails to load vector drawables. Is this expected?

Glide load line / GlideModule (if any) / list Adapter code (if any):

Glide.with(view.context)
  .load(R.drawable.emoji)
  .diskCacheStrategy(DiskCacheStrategy.DATA)
  .into(view)

Error logs: https://gist.github.com/saket/e5af03a4d5cc64fc835773ef90e57a7a Stacktrace: https://gist.github.com/saket/b559e9dd9f5fe3ecf54cf3ae55454742

saket avatar Jul 15 '23 18:07 saket