Access to 'viewBinding' exceeds its access rights

There are errors that I can’t fix as seen in the picture.


“Version 28 (intended for Android Pie and below) is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraries when using Android Q and moving forward. The IDE can help with this: Refactor > Migrate to AndroidX…”

You should ask on stackoverflow.
This isn’t a question about Kotlin.

1 Like

I have a question limit. They want me to wait 2 days before they can ask a new question.