Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Coil AsyncImage not resolving

I have not been able to get Coil to resolve for me. I've added the implementation to my gradle

implementation('io.coil-kt:coil:2.2.2')

I've added

import coil.* and I've tried import coil.compose.AsyncImage and neither have proven to be successful.

like image 483
Robert Avatar asked Sep 17 '25 13:09

Robert


1 Answers

You have to add the dependency:

implementation("io.coil-kt:coil-compose:2.2.2")

Then you can import:

import coil.compose.AsyncImage
like image 196
Gabriele Mariotti Avatar answered Sep 19 '25 05:09

Gabriele Mariotti