Access to 'viewBinding' exceeds its access rights
After updating Android Studio to Arctic Fox and Android Gradle plugin to 7.0.0 I'm facing this warning, I mean the app can be built successfully nonetheless of this warning but what I am missing here? What's the problem here?
According to the official View Binding reference, I'm enabling it the right way. here is my build.gradle if anyone is interested in checking.
There are some related questions but I don't think they are relevant in this situation.
- Build.gradle: Access to 'project' exceeds its access rights
- Enable viewBinding feature failed (Android Studio 3.6)
Solution 1:
Remove equal sign. On the screenshot you use Kotlin configuration, but Groovy is needed here. See the difference: