I get the warning "use properties from the build variant packages” inside android studio because I’m accessing the kotlinx properties not by the build variant package; I access them this way:
import kotlinx.android.synthetic.home__activity.*
If I change that to (main package):
import kotlinx.android.synthetic.main.home__activity.*
Android studio says that “main” and every other kotlinx property is an unresolved reference.
How can I fix that?