I also face the same issue check if you add this dependency or not first and after adding you are good to go.
implementation("io.coil-kt.coil3:coil-compose:3.3.0") implementation("io.coil-kt.coil3:coil-network-okhttp:3.3.0")