I recently started learning Jetpack Compose. Here is problem. When i try to create image android studio can't find R.drawable folder. It looks like that. 1 Why is that?
Be careful that R is imported correctly.
import [BASE_PACKAGE_NAME].R
and check is painterResource imported correctly?
import androidx.compose.ui.res.painterResource
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.