If you are using coil version 3.x.x, You must add the coil-okhttp3 dependency in your build.gradle, along with the composed one
implementation("io.coil-kt.coil3:coil-compose:3.1.0")
implementation("io.coil-kt.coil3:coil-network-okhttp:3.1.0")
It enables Coil to fetch images from network sources