Gradle error in Unity when Building

Guys, I have been having a heck of a time trying to get Unity to work and hoping there is a fix. I am trying to build a project for the first time and using the HelloMR scene as per the quickstart guide. I believe that I have set everything up as per the checklist and settings required but it fails to build. It fails at the Gradle Build part right at the end. I have scrcpy going, Using Unity 2020.3.10f1, Android build 27, updated the firmware on the devkit, Android SDK set. I have probably missed something really basic. Here is a picture of the console. I can’t interpret the console errors so hoping someone could give me a hint? I have also posted in the nreal slack. Thanks in advance.

Take a look at here:

If you still have problems, join on the Discord server. Maybe someone can help you.

The following may be helpful.