android gradle problems

hey guys i al alreddy 2 days trying to get this working but nothing seems to work
i got this message

C:\Program Files\Java\jdk1.8.0_202\bin\java.exe -classpath “D:\Unity\2020.3.38f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “assembleRelease”

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘N:\Stargate atlantis Unity\Stargate atlantis android\Temp\gradleOut\launcher\build.gradle’ line: 3

  • What went wrong:
    A problem occurred evaluating project ‘:launcher’.

Failed to apply plugin [id ‘’]
Minimum supported Gradle version is 6.1.1. Current version is 6.1. If using the gradle wrapper, try editing the distributionUrl in N:\Stargate atlantis Unity\Stargate atlantis android\Temp\gradleOut\launcher\gradle\wrapper\ to

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at

i tried every tutorial you can find on google or the web nothing seems to fix it i tried diffrend versions of gradle

i tried updating unity to latest version 2022

it does not matter what i do it will nog work

i have no idea how to fix this can someone please help me

I’m having identical issue. Were you able to fix yours?