Here are the console messages:
Unity.Tutorials.Core.Editor.BuildStartedCriterion must be instantiated using the ScriptableObject.CreateInstance method instead of new BuildStartedCriterion.
UnityEngine.ScriptableObject:.ctor ()
Unity.Tutorials.Core.Editor.Criterion:.ctor () (at ./Library/PackageCache/com.unity.learn.iet-framework@3.1.3/Editor/Criteria/Criterion.cs:43)
Unity.Tutorials.Core.Editor.PreprocessBuildCriterion:.ctor ()
Unity.Tutorials.Core.Editor.BuildStartedCriterion:.ctor ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Unity.Tutorials.Core.Editor.BuildStartedCriterion must be instantiated using the ScriptableObject.CreateInstance method instead of new BuildStartedCriterion.
UnityEngine.ScriptableObject:.ctor ()
Unity.Tutorials.Core.Editor.Criterion:.ctor () (at ./Library/PackageCache/com.unity.learn.iet-framework@3.1.3/Editor/Criteria/Criterion.cs:43)
Unity.Tutorials.Core.Editor.PreprocessBuildCriterion:.ctor ()
Unity.Tutorials.Core.Editor.BuildStartedCriterion:.ctor ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
The package cache was invalidated and rebuilt because the following immutable asset(s) were unexpectedly altered:
Packages/com.unity.xr.arkit/Tests/Editor/Assets/TestReferenceImageLibrary.asset
Packages/com.unity.xr.arcore/Tests/Editor/Assets/TestReferenceImageLibrary.asset
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Import Error Code:(4)
Message: Build asset version error: packages/com.unity.xr.arkit/tests/editor/assets/testreferenceimagelibrary.asset in SourceAssetDB has modification time of ‘2023-10-10T12:19:13.1077104Z’ while content on disk has modification time of ‘2023-09-13T00:48:12Z’
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Importer(NativeFormatImporter) generated inconsistent result for asset(guid:6bb381a8ba31f114d9724357633b4625) “Assets/XR/Settings/Open XR Package Settings.asset”
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
CommandInvokationFailure: Failed to update Android SDK package list.
E:\Unity\Unity 2022.3.10f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\latest-2\bin\sdkmanager.bat --list
Environment Variables:
PROCESSOR_LEVEL = 25
CUDA_CACHE_MAXSIZE = 268435456
ProgramFiles = C:\Program Files
TMP = C:\Users\Tyrone\AppData\Local\Temp
PROCESSOR_ARCHITECTURE = AMD64
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
ALLUSERSPROFILE = C:\ProgramData
OS = Windows_NT
CHROME_CRASHPAD_PIPE_NAME = \.\pipe\crashpad_21508_LMNUPPHUZPYJTKHL
PROCESSOR_IDENTIFIER = AMD64 Family 25 Model 33 Stepping 0, AuthenticAMD
PROCESSOR_REVISION = 2100
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
USERPROFILE = C:\Users\Tyrone
JAVA_HOME = E:\Unity\Unity 2022.3.10f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
CommonProgramFiles = C:\Program Files\Common Files
INTEL_DEV_REDIST = C:\Program Files (x86)\Common Files\Intel\Shared Libraries
ComSpec = C:\Windows\system32\cmd.exe
LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
MIC_LD_LIBRARY_PATH = %INTEL_DEV_REDIST%compiler\lib\mic
USERDOMAIN = TYRONE
PUBLIC = C:\Users\Public
SystemRoot = C:\Windows
HEAP_CLIENT_TOKEN = 1717415662
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
NUMBER_OF_PROCESSORS = 16
VRAY_FOR_MAYA2023_PLUGINS = C:\Program Files\Chaos Group\V-Ray\Maya 2023 for x64\maya_vray/vrayplugins
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
DEBUG_ENV_VAR = UnityHub
ProgramW6432 = C:\Program Files
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
TEMP = C:\Users\Tyrone\AppData\Local\Temp
Path = C:\Program Files\OpenLogic\jdk-11.0.20.8-hotspot\bin;%INTEL_DEV_REDIST%redist\intel64\compiler;C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin;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\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Tyrone\AppData\Local\Microsoft\WindowsApps;;C:\Users\Tyrone\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Tyrone.dotnet\tools
EFC_11544 = 1
USERNAME = Tyrone
COMPUTERNAME = TYRONE
USERDOMAIN_ROAMINGPROFILE = TYRONE
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
SystemDrive = C:
WWISEROOT = C:\Program Files (x86)\Audiokinetic\Wwise 2022.1.8.8316
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
HEAP_CLIENT_TOKEN_STAGING = 3786794399
WWISESDK = C:\Program Files (x86)\Audiokinetic\Wwise 2022.1.8.8316\SDK
FPS_BROWSER_USER_PROFILE_STRING = Default
VRAY_SEND_FEEDBACK = 0
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
APPDATA = C:\Users\Tyrone\AppData\Roaming
windir = C:\Windows
DriverData = C:\Windows\System32\Drivers\DriverData
CommonProgramW6432 = C:\Program Files\Common Files
ProgramFiles(x86) = C:\Program Files (x86)
SESSIONNAME = Console
LOGONSERVER = \TYRONE
LOCALAPPDATA = C:\Users\Tyrone\AppData\Local
HOMEPATH = \Users\Tyrone
LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
HOMEDRIVE = C:
OneDrive = C:\Users\Tyrone\OneDrive
ProgramData = C:\ProgramData
stderr[
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Error: LinkageError occurred while loading main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
]
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.AndroidSDKTools.RunAndroidSdkTool (System.String toolName, System.String arguments, System.Boolean updateCommand, System.String errorMsg, System.String toolsDir, System.String[ ] warningsToIgnore) (at :0)
UnityEditor.Android.AndroidSDKTools.ListComponentsVersions () (at :0)
UnityEditor.Android.SDKManager.UpdatePackagesList () (at :0)
UnityEditor.Android.SDKManager.HighestVersionInstalled (UnityEditor.Android.SDKManager+Component tool) (at :0)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK+SDKToolsDetector.GetVersion () (at :0)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK+SDKComponentDetector.Detect (System.Version minVersion, UnityEditor.Android.PostProcessor.ProgressHandler onProgress) (at :0)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.EnsureSDKComponentVersion (System.Version minVersion, UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK+SDKComponentDetector detector) (at :0)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.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&)
A meta data file (.meta) exists but its folder ‘Packages/com.unity.xr.magicleap/Runtime/Plugins’ can’t be found, and has been created. Empty directories cannot be stored in version control, so it’s assumed that the meta data file is for an empty directory in version control. When moving or deleting folders outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Build completed with a result of ‘Failed’ in 8 seconds (7673 ms)
2 errors
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Does anyone know whats happening?
In the external tools my JDK, SDK and NDK are all detected without errors.