Android Studio – cannot resolve symbol 'layout' as in R.layout.xml_name
I have read and tried many solutions offered : Clean, rebuild, invalidate cache and restart android studio, downgrading Gradle from 8.0 to 7.2 I have checked that I properly import the R import com.example.klinikkitadokter.R; but the R is red and…