If you getting this error:
while building your app through Gradle, most likely that means that some of your Gradle plugins are not compatible with your version of Gradle. Consider changing either Gradle to the appropriate version or a problematic Gradle plugin.
In my case, the latest
com.github.ben-manes.versions plugin version was not compatible with my Gradle 6.x.
If you still have any questions, feel free to ask me in the comments under this article, or write me on email@example.com.