Cannot build for Android because of Gradle Error

This works for me! Thanks bro

image
I found this if it helps anyone solve this
and if so please share what you did in a video tutorial if able to thanks