I dug into the issue and found that the image loading fails because of the following error:
Failed to create image decoder with message 'unimplemented'. Input contained an error.
Additionally, I was able to locate the
ImageRequest
for the failed images, so at least I can now redownload them. Here's the
ImageRequest
of one of the failed images:
kotlin
ImageRequest(
context = packageName.activities.AppActivity@dc8156a,
data = /data/user/0/packageName/files/images/https___www.dropbox.com_scl_fi_tp3vnv117uncyp7ga0rgx_page337.png,
target = coil3.compose.AsyncImagePainter$updateRequest$$inlined$target$default$1@76c5374,
listener = null,
memoryCacheKey = null,
memoryCacheKeyExtras = {},
diskCacheKey = null,
fileSystem = NioSystemFileSystem,
fetcherFactory = null,
decoderFactory = null,
interceptorDispatcher = Dispatchers.Unconfined,
fetcherDispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
decoderDispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
memoryCachePolicy = ENABLED,
diskCachePolicy = ENABLED,
networkCachePolicy = ENABLED,
placeholderMemoryCacheKey = null,
placeholderFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
errorFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
fallbackFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
sizeResolver = coil3.compose.internal.ConstraintsSizeResolver@eb532e0,
scale = FILL,
precision = INEXACT,
extras = Extras(data = {coil3.Extras$Key@c04b320=GlobalLifecycle}),
defined = Defined(
fileSystem = null,
interceptorDispatcher = null,
fetcherDispatcher = null,
decoderDispatcher = null,
memoryCachePolicy = null,
diskCachePolicy = null,
networkCachePolicy = null,
placeholderFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
errorFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
fallbackFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
sizeResolver = coil3.compose.internal.ConstraintsSizeResolver@eb532e0,
scale = FILL,
precision = INEXACT
),
defaults = Defaults(
fileSystem = NioSystemFileSystem,
interceptorDispatcher = Dispatchers.Unconfined,
fetcherDispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
decoderDispatcher = <http://Dispatchers.IO|Dispatchers.IO>,
memoryCachePolicy = ENABLED,
diskCachePolicy = ENABLED,
networkCachePolicy = ENABLED,
placeholderFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
errorFactory = quran.ui.components.page.QuranImageKt$QuranImage$4$$ExternalSyntheticLambda4@16015b,
fallbackFactory = coil3.util.Utils_commonKt$EMPTY_IMAGE_FACTORY$1@e61912,
sizeResolver = RealSizeResolver(size = Size(width = Undefined, height = Undefined)),
scale = FIT,
precision = EXACT,
extras = Extras(data = {})
)
)