I am trying out Unity 2021.3.27f1 for the first time and testing out the APK build.
I have checked the Unity - Player - publishing settings and Preferences-External tools-ticked for tools installed with Unity e.g Android SDK/NDK/Gradle.
Environment variables -JAVA_Home is set to C:\Program Files\Java\jdk1.8.0_172.
Is there any other settings that I may have missed out to correct or reinstall ?
Please see the console error that I get in Unity below.
warning: C:\Users\Dx\Downloads\Blank\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\classes.jar(com/samsung/android/gamesdk/GameSDKManager.class): major version 53 is newer than 52, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
C:\Users\Dx\Downloads\Blank\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity\androidnotifications\UnityNotificationManager.java:164: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU)
^
symbol: variable TIRAMISU
location: class VERSION_CODES
C:\Users\Dx\Downloads\Blank\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity\androidnotifications\UnityNotificationManager.java:165: error: cannot find symbol
permissionGranted = mContext.checkCallingOrSelfPermission(Manifest.permission.POST_NOTIFICATIONS) == PackageManager.PERMISSION_GRANTED;
^
symbol: variable POST_NOTIFICATIONS
location: class permission
C:\Users\Dx\Downloads\Blank\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity\androidnotifications\UnityNotificationManager.java:592: error: cannot find symbol
return alarmManager.canScheduleExactAlarms();
^
symbol: method canScheduleExactAlarms()
location: variable alarmManager of type AlarmManager
C:\Users\Dx\Downloads\Blank\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity\androidnotifications\UnityNotificationManager.java:944: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
^
symbol: variable S
location: class VERSION_CODES
C:\Users\Dx\Downloads\Blank\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity\androidnotifications\UnityNotificationManager.java:946: error: incompatible types: Icon cannot be converted to Bitmap
style.bigPicture(icon);