Build Failing Because Of GRADLE

I’m using Iron Source V 7.6.1 and when trying to build the game I get these 3 errors:

> Task :launcher:preBuild UP-TO-DATE
> Task :launcher:preReleaseBuild UP-TO-DATE
> Task :launcher:compileReleaseAidl NO-SOURCE
> Task :launcher:compileReleaseRenderscript NO-SOURCE
> Task :launcher:generateReleaseBuildConfig UP-TO-DATE
> Task :launcher:javaPreCompileRelease UP-TO-DATE
> Task :launcher:checkReleaseAarMetadata FAILED
3 actionable tasks: 1 executed, 2 up-to-date
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
------------------------------------------------------------------------------------------------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:launcher:checkReleaseAarMetadata’.
> Configuration releaseRuntimeClasspath contains AndroidX dependencies, but the android.useAndroidX property is not enabled, which may cause runtime issues.
Set android.useAndroidX=true in the gradle.properties file and retry.
The following AndroidX dependencies are detected:
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.annotation:annotation:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.core:core:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0 → androidx.lifecycle:lifecycle-runtime:2.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0 → androidx.lifecycle:lifecycle-runtime:2.1.0 → androidx.lifecycle:lifecycle-common:2.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0 → androidx.lifecycle:lifecycle-runtime:2.1.0 → androidx.arch.core:core-common:2.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.core:core:1.1.0 → androidx.versionedparcelable:versionedparcelable:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.collection:collection:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.cursoradapter:cursoradapter:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.viewpager:viewpager:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.drawerlayout:drawerlayout:1.0.0 → androidx.customview:customview:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.loader:loader:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.loader:loader:1.0.0 → androidx.lifecycle:lifecycle-livedata:2.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.loader:loader:1.0.0 → androidx.lifecycle:lifecycle-livedata:2.0.0 → androidx.arch.core:core-runtime:2.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.loader:loader:1.0.0 → androidx.lifecycle:lifecycle-livedata:2.0.0 → androidx.lifecycle:lifecycle-livedata-core:2.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.lifecycle:lifecycle-viewmodel:2.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0 → androidx.savedstate:savedstate:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.appcompat:appcompat-resources:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.appcompat:appcompat-resources:1.1.0 → androidx.vectordrawable:vectordrawable:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.appcompat:appcompat-resources:1.1.0 → androidx.vectordrawable:vectordrawable-animated:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.appcompat:appcompat-resources:1.1.0 → androidx.vectordrawable:vectordrawable-animated:1.1.0 → androidx.interpolator:interpolator:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.drawerlayout:drawerlayout:1.0.0
* 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 https://help.gradle.org
BUILD FAILED in 1s
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
------------------------------------------------------------------------------------------------------------------------------------------------
CommandInvokationFailure: Gradle build failed.
C:\unityeditorfolder\2022.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath “C:\unityeditorfolder\2022.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “assembleRelease”
Environment Variables:
PROCESSOR_ARCHITECTURE = AMD64
AMPLITUDE_API_KEY_YELLOWBUCKET_DEV = 48835b4d1f5e342aefe5f016324d296a
BURST_ANDROID_MIN_API_LEVEL = 22
DriverData = C:\Windows\System32\Drivers\DriverData
USERDOMAIN = DESKTOP-5BEA7CI
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
COMPUTERNAME = DESKTOP-5BEA7CI
DEBUG_ENV_VAR = UnityHub
LOGONSERVER = \DESKTOP-5BEA7CI
AMPLITUDE_TOKEN_GREENBUCKET_PROD = yyzPzalJDwrQcYNuOZam0bhKb26WyyhK
PUBLIC = C:\Users\Public
ProgramData = C:\ProgramData
SESSIONNAME = Console
AMPLITUDE_TOKEN_YELLOWBUCKET_PROD = Ph-837Q6GNodAkyc2MRkxVPUcjlIET4d
ALLUSERSPROFILE = C:\ProgramData
SystemRoot = C:\WINDOWS
windir = C:\WINDOWS
AMPLITUDE_API_KEY_REDBUCKET_DEV = 46b8b46515e7632fc42a504b72e05fd0
ProgramFiles(x86) = C:\Program Files (x86)
ProgramW6432 = C:\Program Files
OS = Windows_NT
ANDROID_NDK_ROOT = C:\unityeditorfolder\2022.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
HEAP_CLIENT_TOKEN_STAGING = 3786794399
HOMEPATH = \Users\user
AMPLITUDE_TOKEN_REDBUCKET_DEV = U4PSN7S7PuYVRODivvdcFwbu8R6IHGqa
CHROME_CRASHPAD_PIPE_NAME = \.\pipe\crashpad_12948_TVIMUKKONJPDEXQQ
PROCESSOR_LEVEL = 23
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
CommonProgramFiles = C:\Program Files\Common Files
JAVA_HOME = C:\unityeditorfolder\2022.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
USERDOMAIN_ROAMINGPROFILE = DESKTOP-5BEA7CI
TEMP = C:\Users\user\AppData\Local\Temp
CommonProgramW6432 = C:\Program Files\Common Files
AMPLITUDE_TOKEN_YELLOWBUCKET_DEV = wKi8foVigDditGFvmZewRFWsEbX9Y0YO
AMPLITUDE_API_KEY_GREENBUCKET_DEV = 3ded2a762163603391a425f688f990c8
AMPLITUDE_API_KEY_REDBUCKET_PROD = ca12bb461ea96f9bdf5df4ded7d52994
VBOX_HWVIRTEX_IGNORE_SVM_IN_USE = 1
HOMEDRIVE = C:
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
USERNAME = user
OneDrive = C:\Users\user\OneDrive
AMPLITUDE_API_KEY_YELLOWBUCKET_PROD = e03a9bbe92dc38a88cdb068d24c65b46
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
AMPLITUDE_TOKEN_REDBUCKET_PROD = QqyoFpcWPi7V17p80_46CF6-sNGRGbHo
NUMBER_OF_PROCESSORS = 16
LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
AMPLITUDE_TOKEN_GREENBUCKET_DEV = 84H2gMm_FJzhr3mBaX1lM1JVukmCM7d9
ProgramFiles = C:\Program Files
AMPLITUDE_API_KEY_GREENBUCKET_PROD = c86fea37a9e1d3f0878b96e15b111c7c
ComSpec = C:\WINDOWS\system32\cmd.exe
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
PROCESSOR_REVISION = 7100
TMP = C:\Users\user\AppData\Local\Temp
SystemDrive = C:
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
OneDriveConsumer = C:\Users\user\OneDrive
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
HEAP_CLIENT_TOKEN = 1717415662
APPDATA = C:\Users\user\AppData\Roaming
Path = C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Java\jdk-11\bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Java\jdk-11\bin;
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
LOCALAPPDATA = C:\Users\user\AppData\Local
USERPROFILE = C:\Users\user
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
stderr[
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:launcher:checkReleaseAarMetadata’.
> Configuration releaseRuntimeClasspath contains AndroidX dependencies, but the android.useAndroidX property is not enabled, which may cause runtime issues.
Set android.useAndroidX=true in the gradle.properties file and retry.
The following AndroidX dependencies are detected:
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.annotation:annotation:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.core:core:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0 → androidx.lifecycle:lifecycle-runtime:2.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0 → androidx.lifecycle:lifecycle-runtime:2.1.0 → androidx.lifecycle:lifecycle-common:2.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0 → androidx.lifecycle:lifecycle-runtime:2.1.0 → androidx.arch.core:core-common:2.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.core:core:1.1.0 → androidx.versionedparcelable:versionedparcelable:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.collection:collection:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.cursoradapter:cursoradapter:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.viewpager:viewpager:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.drawerlayout:drawerlayout:1.0.0 → androidx.customview:customview:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.loader:loader:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.loader:loader:1.0.0 → androidx.lifecycle:lifecycle-livedata:2.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.loader:loader:1.0.0 → androidx.lifecycle:lifecycle-livedata:2.0.0 → androidx.arch.core:core-runtime:2.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.loader:loader:1.0.0 → androidx.lifecycle:lifecycle-livedata:2.0.0 → androidx.lifecycle:lifecycle-livedata-core:2.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.lifecycle:lifecycle-viewmodel:2.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.fragment:fragment:1.1.0 → androidx.activity:activity:1.0.0 → androidx.savedstate:savedstate:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.appcompat:appcompat-resources:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.appcompat:appcompat-resources:1.1.0 → androidx.vectordrawable:vectordrawable:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.appcompat:appcompat-resources:1.1.0 → androidx.vectordrawable:vectordrawable-animated:1.1.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.appcompat:appcompat-resources:1.1.0 → androidx.vectordrawable:vectordrawable-animated:1.1.0 → androidx.interpolator:interpolator:1.0.0
releaseRuntimeClasspath → androidx.appcompat:appcompat:1.1.0 → androidx.drawerlayout:drawerlayout:1.0.0
* 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 https://help.gradle.org
BUILD FAILED in 1s
]
stdout[
> Task :launcher:preBuild UP-TO-DATE
> Task :launcher:preReleaseBuild UP-TO-DATE
> Task :launcher:compileReleaseAidl NO-SOURCE
> Task :launcher:compileReleaseRenderscript NO-SOURCE
> Task :launcher:generateReleaseBuildConfig UP-TO-DATE
> Task :launcher:javaPreCompileRelease UP-TO-DATE
> Task :launcher:checkReleaseAarMetadata FAILED
3 actionable tasks: 1 executed, 2 up-to-date
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action1[T] progress, System.String error) (at <b417242467964bd1aa8aad6e355fdf88>:0)** **UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action1[T] progress) (at :0)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

I’m using Unity 2022.3.4f1

UPDATE
I did some changes to the build.gradle script and managed to get 2 errors now so I think thats good news. Heres the build.gradle script :


dependencies {
classpath 'com.android.tools.build:gradle:7.2'
}

android {
ndkPath "C:/unityeditorfolder/2022.3.4f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK"

compileSdkVersion 33
buildToolsVersion '33.0.2'

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

defaultConfig {
minSdkVersion 33
targetSdkVersion 33
applicationId 'com.DefaultCompany.BeastBlend'
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}
versionCode 1
versionName '1.0'
}

aaptOptions {
noCompress = ['.unity3d', '.ress', '.resource', '.obb', '.bundle', '.unityexp'] + unityStreamingAssets.tokenize(', ')
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
}

lintOptions {
abortOnError false
}

buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt')
signingConfig signingConfigs.debug
jniDebuggable true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt')
signingConfig signingConfigs.debug
}
}

packagingOptions {
doNotStrip '*/armeabi-v7a/*.so'
doNotStrip '*/arm64-v8a/*.so'
}

bundle {
language {
enableSplit = false
}
density {
enableSplit = false
}
abi {
enableSplit = true
}
}
}

and here are the 2 errors that are left :

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file ‘C:\Users\user\Merge\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\build.gradle’ line: 4

* What went wrong:
A problem occurred evaluating project ‘:launcher’.
> Could not find method classpath() for arguments [com.android.tools.build:gradle:7.2] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ‘:launcher’.
> compileSdkVersion is not specified. Please add it to build.gradle

* 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 https://help.gradle.org

BUILD FAILED in 1s

UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

The second one :

CommandInvokationFailure: Gradle build failed.
C:\unityeditorfolder\2022.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath “C:\unityeditorfolder\2022.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “assembleRelease”

Environment Variables:
PROCESSOR_ARCHITECTURE = AMD64
AMPLITUDE_API_KEY_YELLOWBUCKET_DEV = 48835b4d1f5e342aefe5f016324d296a
BURST_ANDROID_MIN_API_LEVEL = 22
DriverData = C:\Windows\System32\Drivers\DriverData
USERDOMAIN = DESKTOP-5BEA7CI
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
COMPUTERNAME = DESKTOP-5BEA7CI
DEBUG_ENV_VAR = UnityHub
LOGONSERVER = \DESKTOP-5BEA7CI
AMPLITUDE_TOKEN_GREENBUCKET_PROD = yyzPzalJDwrQcYNuOZam0bhKb26WyyhK
PUBLIC = C:\Users\Public
ProgramData = C:\ProgramData
SESSIONNAME = Console
AMPLITUDE_TOKEN_YELLOWBUCKET_PROD = Ph-837Q6GNodAkyc2MRkxVPUcjlIET4d
ALLUSERSPROFILE = C:\ProgramData
SystemRoot = C:\WINDOWS
windir = C:\WINDOWS
AMPLITUDE_API_KEY_REDBUCKET_DEV = 46b8b46515e7632fc42a504b72e05fd0
ProgramFiles(x86) = C:\Program Files (x86)
ProgramW6432 = C:\Program Files
OS = Windows_NT
ANDROID_NDK_ROOT = C:\unityeditorfolder\2022.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
HEAP_CLIENT_TOKEN_STAGING = 3786794399
HOMEPATH = \Users\user
AMPLITUDE_TOKEN_REDBUCKET_DEV = U4PSN7S7PuYVRODivvdcFwbu8R6IHGqa
CHROME_CRASHPAD_PIPE_NAME = \.\pipe\crashpad_12948_TVIMUKKONJPDEXQQ
PROCESSOR_LEVEL = 23
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
CommonProgramFiles = C:\Program Files\Common Files
JAVA_HOME = C:\unityeditorfolder\2022.3.4f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
USERDOMAIN_ROAMINGPROFILE = DESKTOP-5BEA7CI
TEMP = C:\Users\user\AppData\Local\Temp
CommonProgramW6432 = C:\Program Files\Common Files
AMPLITUDE_TOKEN_YELLOWBUCKET_DEV = wKi8foVigDditGFvmZewRFWsEbX9Y0YO
AMPLITUDE_API_KEY_GREENBUCKET_DEV = 3ded2a762163603391a425f688f990c8
AMPLITUDE_API_KEY_REDBUCKET_PROD = ca12bb461ea96f9bdf5df4ded7d52994
VBOX_HWVIRTEX_IGNORE_SVM_IN_USE = 1
HOMEDRIVE = C:
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
USERNAME = user
OneDrive = C:\Users\user\OneDrive
AMPLITUDE_API_KEY_YELLOWBUCKET_PROD = e03a9bbe92dc38a88cdb068d24c65b46
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
AMPLITUDE_TOKEN_REDBUCKET_PROD = QqyoFpcWPi7V17p80_46CF6-sNGRGbHo
NUMBER_OF_PROCESSORS = 16
LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
AMPLITUDE_TOKEN_GREENBUCKET_DEV = 84H2gMm_FJzhr3mBaX1lM1JVukmCM7d9
ProgramFiles = C:\Program Files
AMPLITUDE_API_KEY_GREENBUCKET_PROD = c86fea37a9e1d3f0878b96e15b111c7c
ComSpec = C:\WINDOWS\system32\cmd.exe
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
PROCESSOR_REVISION = 7100
TMP = C:\Users\user\AppData\Local\Temp
SystemDrive = C:
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
OneDriveConsumer = C:\Users\user\OneDrive
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
HEAP_CLIENT_TOKEN = 1717415662
APPDATA = C:\Users\user\AppData\Roaming
Path = C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Java\jdk-11\bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Java\jdk-11\bin;
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
LOCALAPPDATA = C:\Users\user\AppData\Local
USERPROFILE = C:\Users\user
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3

stderr[
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file ‘C:\Users\user\Merge\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\build.gradle’ line: 4

* What went wrong:
A problem occurred evaluating project ‘:launcher’.
> Could not find method classpath() for arguments [com.android.tools.build:gradle:7.2] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ‘:launcher’.
> compileSdkVersion is not specified. Please add it to build.gradle

* 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 https://help.gradle.org

BUILD FAILED in 1s
]
stdout[

]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action1[T] progress, System.String error) (at <b417242467964bd1aa8aad6e355fdf88>:0)** **UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action1[T] progress) (at :0)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)

Thanks for reaching out. Please provide all the associated info to our tech support team here, we will assist to address it.