Everything worked fine the last time I used Unity (About 1 year ago). And one day I decided to create a project. After building It gives me this error also for all projects.
https://i.stack.imgur.com/6Y69G.png
My Unity version is 2020.3.1
JDK - 1.8.0.281
NDK - r19c
Gradle - 6.1.1
I tried renaming d8 to dx in SDK.
The main question is that 1 year ago I was building projects with no errors and after 1 year it gives me a "Gradle build error".
I can't find the solution for weeks! Please help!!!