Level Play in UNITY 2022??

Want to know if there is some way to make Ads work on Unity ver.2022. I want to upgrade my game, but I still get the same issue with the ads and not showing on 2022.

I have gotten it to work on Unity 2022.2.
Try this

  1. Dependency Resolver => Delete Resolved Libraries
  2. Dependency Resolver => Force Resolve
  3. Build

If there’s any gradle errors, solve it with the solution here [Bug] Android Gradle project repositories block don't work for the latest Unity versions · Issue #594 · googlesamples/unity-jar-resolver · GitHub

If you’re having issues getting ads to display, that can have a few different causes. There is a troubleshooting guide if you are using LevelPlay:

If you still have any trouble, feel free to open a support ticket:
https://ironsrc.formtitan.com/knowledge-center?fld48=#/

The issue is that when I try to build it looks this error:

Error Code

Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

> Configure project :launcher
WARNING:The option setting 'android.bundle.enableUncompressedNativeLibs=false' is deprecated.
The current default is 'true'.
It will be removed in version 8.0 of the Android Gradle plugin.
You can add the following to your build.gradle instead:
android {
    packagingOptions {
        jniLibs {
            useLegacyPackaging = true
        }
    }
}

> Configure project :unityLibrary
Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33

This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32

This warning can be suppressed by adding
    android.suppressUnsupportedCompileSdk=33
to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 33

> Task :launcher:preBuild UP-TO-DATE
> Task :unityLibrary:IronSource.plugin:preBuild UP-TO-DATE
> Task :unityLibrary:preBuild UP-TO-DATE
> Task :launcher:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:IronSource.plugin:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
> Task :unityLibrary:IronSource.plugin:packageReleaseRenderscript NO-SOURCE
> Task :unityLibrary:IronSource.plugin:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:generateReleaseResValues
> Task :launcher:generateReleaseResValues
> Task :unityLibrary:IronSource.plugin:generateReleaseResValues
> Task :unityLibrary:generateReleaseResources
> Task :unityLibrary:IronSource.plugin:generateReleaseResources
> Task :launcher:compileReleaseRenderscript NO-SOURCE
> Task :launcher:generateReleaseResources
> Task :launcher:writeReleaseApplicationId
> Task :launcher:analyticsRecordingRelease
> Task :unityLibrary:IronSource.plugin:packageReleaseResources
> Task :unityLibrary:IronSource.plugin:extractDeepLinksRelease
> Task :launcher:createReleaseCompatibleScreenManifests
> Task :launcher:extractDeepLinksRelease
> Task :launcher:mergeReleaseShaders
> Task :launcher:compileReleaseShaders NO-SOURCE
> Task :launcher:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:packageReleaseResources
> Task :unityLibrary:extractDeepLinksRelease
> Task :unityLibrary:mergeReleaseShaders
> Task :unityLibrary:IronSource.plugin:mergeReleaseShaders
> Task :unityLibrary:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:IronSource.plugin:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:IronSource.plugin:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:IronSource.plugin:compileReleaseLibraryResources
> Task :unityLibrary:IronSource.plugin:packageReleaseAssets
> Task :unityLibrary:compileReleaseLibraryResources
> Task :unityLibrary:IronSource.plugin:compileReleaseAidl NO-SOURCE

> Task :unityLibrary:processReleaseManifest
C:\Geraldina\Mobile Games\TheSpiderAndTheSnake\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\AndroidManifest.xml:26:3-42 Warning:
    uses-sdk:minSdkVersion value (19) specified in the manifest file is ignored. It is overridden by the value declared in the DSL or the variant API, or 1 if not declared/present. Current value is (22).
C:\Geraldina\Mobile Games\TheSpiderAndTheSnake\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\AndroidManifest.xml:3:3-93 Warning:
    uses-permission#android.permission.READ_PHONE_STATE was tagged at AndroidManifest.xml:3 to remove other declarations but no other declaration present

> Task :unityLibrary:IronSource.plugin:processReleaseManifest
> Task :unityLibrary:packageReleaseAssets
> Task :unityLibrary:compileReleaseAidl NO-SOURCE
> Task :unityLibrary:generateReleaseBuildConfig
> Task :unityLibrary:IronSource.plugin:generateReleaseBuildConfig
> Task :unityLibrary:javaPreCompileRelease
> Task :unityLibrary:IronSource.plugin:javaPreCompileRelease
> Task :unityLibrary:IronSource.plugin:processReleaseJavaRes NO-SOURCE
> Task :unityLibrary:IronSource.plugin:writeReleaseAarMetadata
> Task :unityLibrary:writeReleaseAarMetadata
> Task :unityLibrary:IronSource.plugin:bundleLibResRelease NO-SOURCE
> Task :unityLibrary:processReleaseJavaRes
> Task :unityLibrary:IronSource.plugin:parseReleaseLocalResources
> Task :unityLibrary:parseReleaseLocalResources
> Task :unityLibrary:bundleLibResRelease
> Task :unityLibrary:IronSource.plugin:mergeReleaseJniLibFolders
> Task :unityLibrary:IronSource.plugin:mergeReleaseNativeLibs NO-SOURCE
> Task :unityLibrary:IronSource.plugin:copyReleaseJniLibsProjectOnly
> Task :unityLibrary:IronSource.plugin:prepareReleaseArtProfile
> Task :unityLibrary:IronSource.plugin:generateReleaseRFile
> Task :unityLibrary:mergeReleaseJniLibFolders
> Task :unityLibrary:IronSource.plugin:compileReleaseJavaWithJavac
> Task :unityLibrary:IronSource.plugin:mergeReleaseGeneratedProguardFiles
> Task :unityLibrary:IronSource.plugin:exportReleaseConsumerProguardFiles
> Task :unityLibrary:IronSource.plugin:bundleLibCompileToJarRelease
> Task :unityLibrary:IronSource.plugin:bundleLibRuntimeToJarRelease
> Task :launcher:checkReleaseDuplicateClasses FAILED
> Task :unityLibrary:generateReleaseRFile FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
42 actionable tasks: 42 executed

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

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

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'.
   > Could not find com.ironsource.adapters:adcolonyadapter:4.3.14.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/adcolonyadapter/4.3.14/adcolonyadapter-4.3.14.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/adcolonyadapter/4.3.14/adcolonyadapter-4.3.14.pom
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/adcolonyadapter-4.3.14.jar
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/adcolonyadapter.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.adapters:admobadapter:4.3.35.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/admobadapter/4.3.35/admobadapter-4.3.35.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/admobadapter/4.3.35/admobadapter-4.3.35.pom
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/admobadapter-4.3.35.jar
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/admobadapter.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.adapters:facebookadapter:4.3.39.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/facebookadapter/4.3.39/facebookadapter-4.3.39.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/facebookadapter/4.3.39/facebookadapter-4.3.39.pom
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/facebookadapter-4.3.39.jar
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/facebookadapter.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.adapters:liftoffadapter:4.3.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/liftoffadapter/4.3.5/liftoffadapter-4.3.5.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/liftoffadapter/4.3.5/liftoffadapter-4.3.5.pom
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/liftoffadapter-4.3.5.jar
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/liftoffadapter.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.adapters:unityadsadapter:4.3.26.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/unityadsadapter/4.3.26/unityadsadapter-4.3.26.pom
     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.sdk:mediationsdk:7.3.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/sdk/mediationsdk/7.3.0/mediationsdk-7.3.0.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/sdk/mediationsdk/7.3.0/mediationsdk-7.3.0.pom
     Required by:
         project :launcher > project :unityLibrary

* 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:
Execution failed for task ':unityLibrary:generateReleaseRFile'.
> Could not resolve all files for configuration ':unityLibrary:releaseCompileClasspath'.
   > Could not find com.ironsource.adapters:adcolonyadapter:4.3.14.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.adapters:admobadapter:4.3.35.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.adapters:facebookadapter:4.3.39.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.adapters:liftoffadapter:4.3.5.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.adapters:unityadsadapter:4.3.26.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.sdk:mediationsdk:7.3.0.
     Required by:
         project :unityLibrary

* 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 17s

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

CommandInvokationFailure: Gradle build failed.
C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"

Environment Variables:
EFC_7732 = 0
USERDOMAIN = CUTYDINA
ProgramFiles = C:\Program Files
TMP = C:\Users\geral\AppData\Local\Temp
OneDrive = C:\Users\geral\OneDrive
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_REVISION = a701
OS = Windows_NT
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_4808_GMDJECDGFUXWCDBF
PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 167 Stepping 1, GenuineIntel
ProgramW6432 = C:\Program Files
GRADLE = C:\Gradle\gradle-6.9.3\bin
USERPROFILE = C:\Users\geral
JAVA_HOME = C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
JD2_HOME = C:\Users\geral\AppData\Local\JDownloader 2.0
DriverData = C:\Windows\System32\Drivers\DriverData
ComSpec = C:\WINDOWS\system32\cmd.exe
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
ANDROID_NDK_ROOT = C:\Program Files\Unity\Hub\Editor\2022.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
SystemRoot = C:\WINDOWS
NUMBER_OF_PROCESSORS = 16
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
BURST_ANDROID_MIN_API_LEVEL = 22
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
TEMP = C:\Users\geral\AppData\Local\Temp
Path = C:\Program Files (x86)\Common Files\Oracle\Java\javapath;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\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\geral\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\geral\AppData\Local\Programs\Python\Python311\;C:\Users\geral\AppData\Local\Microsoft\WindowsApps;
PYTHON = C:\Users\geral\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.11
USERNAME = geral
COMPUTERNAME = CUTYDINA
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
ALLUSERSPROFILE = C:\ProgramData
SystemDrive = C:
windir = C:\WINDOWS
FPS_BROWSER_USER_PROFILE_STRING = Default
HOMEPATH = \Users\geral
PUBLIC = C:\Users\Public
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
APPDATA = C:\Users\geral\AppData\Roaming
CommonProgramFiles = C:\Program Files\Common Files
PROCESSOR_LEVEL = 6
CommonProgramW6432 = C:\Program Files\Common Files
ProgramFiles(x86) = C:\Program Files (x86)
SESSIONNAME = Console
LOGONSERVER = \\CUTYDINA
LOCALAPPDATA = C:\Users\geral\AppData\Local
HOMEDRIVE = C:
USERDOMAIN_ROAMINGPROFILE = CUTYDINA
ProgramData = C:\ProgramData
ORIGINAL_XDG_CURRENT_DESKTOP = undefined


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

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'.
   > Could not find com.ironsource.adapters:adcolonyadapter:4.3.14.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/adcolonyadapter/4.3.14/adcolonyadapter-4.3.14.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/adcolonyadapter/4.3.14/adcolonyadapter-4.3.14.pom
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/adcolonyadapter-4.3.14.jar
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/adcolonyadapter.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.adapters:admobadapter:4.3.35.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/admobadapter/4.3.35/admobadapter-4.3.35.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/admobadapter/4.3.35/admobadapter-4.3.35.pom
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/admobadapter-4.3.35.jar
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/admobadapter.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.adapters:facebookadapter:4.3.39.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/facebookadapter/4.3.39/facebookadapter-4.3.39.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/facebookadapter/4.3.39/facebookadapter-4.3.39.pom
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/facebookadapter-4.3.39.jar
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/facebookadapter.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.adapters:liftoffadapter:4.3.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/adapters/liftoffadapter/4.3.5/liftoffadapter-4.3.5.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/liftoffadapter/4.3.5/liftoffadapter-4.3.5.pom
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/liftoffadapter-4.3.5.jar
       - file:/C:/Geraldina/Mobile Games/TheSpiderAndTheSnake/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/libs/liftoffadapter.jar
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.adapters:unityadsadapter:4.3.26.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/ironsource/adapters/unityadsadapter/4.3.26/unityadsadapter-4.3.26.pom
     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
     Required by:
         project :launcher > project :unityLibrary
   > Could not find com.ironsource.sdk:mediationsdk:7.3.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/ironsource/sdk/mediationsdk/7.3.0/mediationsdk-7.3.0.pom
       - https://repo.maven.apache.org/maven2/com/ironsource/sdk/mediationsdk/7.3.0/mediationsdk-7.3.0.pom
     Required by:
         project :launcher > project :unityLibrary

* 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:
Execution failed for task ':unityLibrary:generateReleaseRFile'.
> Could not resolve all files for configuration ':unityLibrary:releaseCompileClasspath'.
   > Could not find com.ironsource.adapters:adcolonyadapter:4.3.14.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.adapters:admobadapter:4.3.35.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.adapters:facebookadapter:4.3.39.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.adapters:liftoffadapter:4.3.5.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.adapters:unityadsadapter:4.3.26.
     Required by:
         project :unityLibrary
   > Could not find com.ironsource.sdk:mediationsdk:7.3.0.
     Required by:
         project :unityLibrary

* 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 17s
]
stdout[
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

> Configure project :launcher
WARNING:The option setting 'android.bundle.enableUncompressedNativeLibs=false' is deprecated.
The current default is 'true'.
It will be removed in version 8.0 of the Android Gradle plugin.
You can add the following to your build.gradle instead:
android {
    packagingOptions {
        jniLibs {
            useLegacyPackaging = true
        }
    }
}

> Configure project :unityLibrary
Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven2' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'maven3' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenLocal' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'BintrayJCenter' was added by build file 'unityLibrary\build.gradle'
Build was configured to prefer settings repositories over project repositories but repository 'MavenRepo' was added by build file 'unityLibrary\build.gradle'
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33

This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32

This warning can be suppressed by adding
    android.suppressUnsupportedCompileSdk=33
to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 33

> Task :launcher:preBuild UP-TO-DATE
> Task :unityLibrary:IronSource.plugin:preBuild UP-TO-DATE
> Task :unityLibrary:preBuild UP-TO-DATE
> Task :launcher:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:IronSource.plugin:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
> Task :unityLibrary:IronSource.plugin:packageReleaseRenderscript NO-SOURCE
> Task :unityLibrary:IronSource.plugin:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:generateReleaseResValues
> Task :launcher:generateReleaseResValues
> Task :unityLibrary:IronSource.plugin:generateReleaseResValues
> Task :unityLibrary:generateReleaseResources
> Task :unityLibrary:IronSource.plugin:generateReleaseResources
> Task :launcher:compileReleaseRenderscript NO-SOURCE
> Task :launcher:generateReleaseResources
> Task :launcher:writeReleaseApplicationId
> Task :launcher:analyticsRecordingRelease
> Task :unityLibrary:IronSource.plugin:packageReleaseResources
> Task :unityLibrary:IronSource.plugin:extractDeepLinksRelease
> Task :launcher:createReleaseCompatibleScreenManifests
> Task :launcher:extractDeepLinksRelease
> Task :launcher:mergeReleaseShaders
> Task :launcher:compileReleaseShaders NO-SOURCE
> Task :launcher:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:packageReleaseResources
> Task :unityLibrary:extractDeepLinksRelease
> Task :unityLibrary:mergeReleaseShaders
> Task :unityLibrary:IronSource.plugin:mergeReleaseShaders
> Task :unityLibrary:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:IronSource.plugin:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:IronSource.plugin:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:IronSource.plugin:compileReleaseLibraryResources
> Task :unityLibrary:IronSource.plugin:packageReleaseAssets
> Task :unityLibrary:compileReleaseLibraryResources
> Task :unityLibrary:IronSource.plugin:compileReleaseAidl NO-SOURCE

> Task :unityLibrary:processReleaseManifest
C:\Geraldina\Mobile Games\TheSpiderAndTheSnake\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\AndroidManifest.xml:26:3-42 Warning:
    uses-sdk:minSdkVersion value (19) specified in the manifest file is ignored. It is overridden by the value declared in the DSL or the variant API, or 1 if not declared/present. Current value is (22).
C:\Geraldina\Mobile Games\TheSpiderAndTheSnake\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\AndroidManifest.xml:3:3-93 Warning:
    uses-permission#android.permission.READ_PHONE_STATE was tagged at AndroidManifest.xml:3 to remove other declarations but no other declaration present

> Task :unityLibrary:IronSource.plugin:processReleaseManifest
> Task :unityLibrary:packageReleaseAssets
> Task :unityLibrary:compileReleaseAidl NO-SOURCE
> Task :unityLibrary:generateReleaseBuildConfig
> Task :unityLibrary:IronSource.plugin:generateReleaseBuildConfig
> Task :unityLibrary:javaPreCompileRelease
> Task :unityLibrary:IronSource.plugin:javaPreCompileRelease
> Task :unityLibrary:IronSource.plugin:processReleaseJavaRes NO-SOURCE
> Task :unityLibrary:IronSource.plugin:writeReleaseAarMetadata
> Task :unityLibrary:writeReleaseAarMetadata
> Task :unityLibrary:IronSource.plugin:bundleLibResRelease NO-SOURCE
> Task :unityLibrary:processReleaseJavaRes
> Task :unityLibrary:IronSource.plugin:parseReleaseLocalResources
> Task :unityLibrary:parseReleaseLocalResources
> Task :unityLibrary:bundleLibResRelease
> Task :unityLibrary:IronSource.plugin:mergeReleaseJniLibFolders
> Task :unityLibrary:IronSource.plugin:mergeReleaseNativeLibs NO-SOURCE
> Task :unityLibrary:IronSource.plugin:copyReleaseJniLibsProjectOnly
> Task :unityLibrary:IronSource.plugin:prepareReleaseArtProfile
> Task :unityLibrary:IronSource.plugin:generateReleaseRFile
> Task :unityLibrary:mergeReleaseJniLibFolders
> Task :unityLibrary:IronSource.plugin:compileReleaseJavaWithJavac
> Task :unityLibrary:IronSource.plugin:mergeReleaseGeneratedProguardFiles
> Task :unit<message truncated>
Build completed with a result of 'Failed' in 396 seconds (395803 ms)
3 errors
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

And if i remove the line of ‘android.bundle.enableUncompressedNativeLibs=false’ and add to android build
this:

android {
    packagingOptions {
        jniLibs {
            useLegacyPackaging = true
        }
    }
}

it builds correctly but not show ads, and if I click on Delete resolved libraries and then Resolve it again give me same issues. What do i have to do?

Have you tried the solution by @256 on this thread [Bug] Android Gradle project repositories block don't work for the latest Unity versions · Issue #594 · googlesamples/unity-jar-resolver · GitHub