Updating to ironSouce 7.7.0 causes errors

I finally updated ironSrouce to 7.7.0 found here.
Here is what I did.
I downloaded and installed package
I downloaded and added the “Ad Quality dependency XML” to Assets/IronSource/Editor
I installed/updated the adapters in Unity Integration Manager ( I use ironSource, UnityAds, Admob )
I updated the Mobile Dependency Manager found here
I checked all my settings to match in the Mobile Dependency Manager as seen in the guide, including step 4 for additional setup for Android.
I clicked resolve, and deleted resolved libraries
I deleted the duplicated ironSource plugin, and kept only the Assets/IronSource/Plugins/Android/IronSource.androidlib
I build.
The error I get is

2024/01/17 21:34:41.293 16980 16999 Error Unity setUnityInitializationListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;

What am I missing?

Here are some screenshots:
logcat

build settings


Androidmanifest.xml

gradleTemplate.properties

@vagelis1991
Wasn’t this resolved last year? Issues with IronSource SDK

“setUnityRewardedVideoListener” method doesn’t exist. You should be setting these listeners instead if you’re on levelplay:

Yeah, I completely forgot, I should have updated iron source from the integration manager, instead, anyways
my game hangs at the initialization part. this is the only piece of code I use

void OnApplicationPause(bool isPaused)
    {
        IronSource.Agent.onApplicationPause(isPaused);
    }

    void AdsInit()
    {

        IronSource.Agent.init("IS game key");

        IronSourceEvents.onSdkInitializationCompletedEvent += SdkInitializationCompletedEvent;

        Ads_St = true;

    }
  private void SdkInitializationCompletedEvent()
    {
        Debug.Log("Ads Initialized!");
        Status = "Ads Initialized!";
}

I’m not sure where or how these listeners pop out at the log. could be left out cs files?

Does it happen to all your “IS game key” strings? or just specific ones. If its specific, then it might be an account issue we need to resolve.

It has only happened since I updated the SDK. I tried only on this specific project yet, though not in any other projects.
The live version of the game (with an older SDK version) works as intended. code is exactly the same, nothing changed.

I can confirm that older version works.

7.7.0 would have the same problems as above…

now i get this error

AILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':launcher:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':launcher:debugRuntimeClasspath'.
   > Failed to transform androidx.fragment.fragment-1.7.0-alpha09-.aar (:androidx.fragment.fragment-1.7.0-alpha09:) to match attributes {artifactType=android-manifest, org.gradle.status=integration}.
      > Execution failed for JetifyTransform: C:\Unity\SMXAndroid\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\androidx.fragment.fragment-1.7.0-alpha09.aar.
         > Failed to transform 'C:\Unity\SMXAndroid\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\androidx.fragment.fragment-1.7.0-alpha09.aar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 61. (Run with --stacktrace for more details.)
           Suggestions:
            - Check out existing issues at https://issuetracker.google.com/issues?q=componentid:460323&s=modified_time:desc, it's possible that this issue has already been filed there.
            - If this issue has not been filed, please report it at https://issuetracker.google.com/issues/new?component=460323 (run with --stacktrace and provide a stack trace if possible).
   > Failed to transform androidx.work.work-runtime-2.10.0-alpha01-.aar (:androidx.work.work-runtime-2.10.0-alpha01:) to match attributes {artifactType=android-manifest, org.gradle.status=integration}.
      > Execution failed for JetifyTransform: C:\Unity\SMXAndroid\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\androidx.work.work-runtime-2.10.0-alpha01.aar.
         > Failed to transform 'C:\Unity\SMXAndroid\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\libs\androidx.work.work-runtime-2.10.0-alpha01.aar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 61. (Run with --stacktrace for more details.)
           Suggestions:
            - Check out existing issues at https://issuetracker.google.com/issues?q=componentid:460323&s=modified_time:desc, it's possible that this issue has already been filed there.
            - If this issue has not been filed, please report it at https://issuetracker.google.com/issues/new?component=460323 (run with --stacktrace and provide a stack trace if possible).

* 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
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

I get this error

2024/02/26 22:16:44.230 11375 11392 Error Unity setUnityInitializationListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.230 11375 11392 Error Unity IronSourceEvents:Awake()
2024/02/26 22:16:44.230 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.230 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.230 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.230 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.230 11375 11392 Error Unity
2024/02/26 22:16:44.231 11375 11392 Error Unity setUnityRewardedVideoListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.231 11375 11392 Error Unity IronSourceEvents:Awake()
2024/02/26 22:16:44.231 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.231 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.231 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.231 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.231 11375 11392 Error Unity
2024/02/26 22:16:44.232 11375 11392 Error Unity setUnityRewardedVideoListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.232 11375 11392 Error Unity IronSourceEvents:Awake()
2024/02/26 22:16:44.232 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.232 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.232 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.232 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.232 11375 11392 Error Unity
2024/02/26 22:16:44.232 11375 11392 Error Unity setUnityInterstitialListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.232 11375 11392 Error Unity IronSourceEvents:Awake()
2024/02/26 22:16:44.232 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.232 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.232 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.232 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.232 11375 11392 Error Unity
2024/02/26 22:16:44.233 11375 11392 Error Unity setUnityOfferwallListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.233 11375 11392 Error Unity IronSourceEvents:Awake()
2024/02/26 22:16:44.233 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.233 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.233 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.233 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.233 11375 11392 Error Unity
2024/02/26 22:16:44.234 11375 11392 Error Unity setUnityBannerListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.234 11375 11392 Error Unity IronSourceEvents:Awake()
2024/02/26 22:16:44.234 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.234 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.234 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.234 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.234 11375 11392 Error Unity
2024/02/26 22:16:44.234 11375 11392 Error Unity setUnityImpressionDataListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.234 11375 11392 Error Unity IronSourceEvents:Awake()
2024/02/26 22:16:44.234 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.234 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.234 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.234 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.234 11375 11392 Error Unity
2024/02/26 22:16:44.235 11375 11392 Error Unity setUnitySegmentListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.235 11375 11392 Error Unity IronSourceEvents:Awake()
2024/02/26 22:16:44.235 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.235 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.235 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.235 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.235 11375 11392 Error Unity
2024/02/26 22:16:44.236 11375 11392 Error Unity setUnityRewardedVideoLevelPlayListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.236 11375 11392 Error Unity IronSourceRewardedVideoEvents:Awake()
2024/02/26 22:16:44.236 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.236 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.236 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.236 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.236 11375 11392 Error Unity
2024/02/26 22:16:44.237 11375 11392 Error Unity setUnityRewardedVideoManualLevelPlayListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.237 11375 11392 Error Unity IronSourceRewardedVideoEvents:Awake()
2024/02/26 22:16:44.237 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.237 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.237 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.237 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.237 11375 11392 Error Unity
2024/02/26 22:16:44.238 11375 11392 Error Unity setUnityInterstitialLevelPlayListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.238 11375 11392 Error Unity IronSourceInterstitialEvents:Awake()
2024/02/26 22:16:44.238 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.238 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.238 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.238 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.238 11375 11392 Error Unity
2024/02/26 22:16:44.239 11375 11392 Error Unity setUnityBannerLevelPlayListener method doesn't exist, error: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.239 11375 11392 Error Unity IronSourceBannerEvents:Awake()
2024/02/26 22:16:44.239 11375 11392 Error Unity UnityEngine.GameObject:.ctor(String, Type[])
2024/02/26 22:16:44.239 11375 11392 Error Unity IronSource:.ctor()
2024/02/26 22:16:44.239 11375 11392 Error Unity IronSource:get_Agent()
2024/02/26 22:16:44.239 11375 11392 Error Unity IronSourceInitilizer:Initilize()
2024/02/26 22:16:44.239 11375 11392 Error Unity
2024/02/26 22:16:44.245 11375 11392 Error Unity AndroidJavaException: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.245 11375 11392 Error Unity java.lang.NoClassDefFoundError: Failed resolution of: Lcom/ironsource/mediationsdk/sdk/InitializationListener;
2024/02/26 22:16:44.245 11375 11392 Error Unity     at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
2024/02/26 22:16:44.245 11375 11392 Error Unity     at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
2024/02/26 22:16:44.245 11375 11392 Error Unity     at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:95)
2024/02/26 22:16:44.245 11375 11392 Error Unity     at android.os.Handler.dispatchMessage(Handler.java:102)
2024/02/26 22:16:44.245 11375 11392 Error Unity     at android.os.Looper.loopOnce(Looper.java:201)
2024/02/26 22:16:44.245 11375 11392 Error Unity     at android.os.Looper.loop(Looper.java:288)
2024/02/26 22:16:44.245 11375 11392 Error Unity     at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
2024/02/26 22:16:44.245 11375 11392 Error Unity Caused by: java.lang.ClassNotFoundException: com.ironsource.mediationsdk.sdk.InitializationListener
2024/02/26 22:16:44.245 11375 11392 Error Unity     ... 7 more
2024/02/26 22:16:44.245 11375 11392 Error Unity   at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in <00000000000000000000000000000000>:0
2024/02/26 22:16:44.245 11375 11392 Error Unity   at UnityEngine.AndroidJNISafe.FindClass (System.String name) [0x00000] in <00000000000000000000000000000000>:0

Could be this the issue? Upgrade Gradle for Android  |  Unity  |  Google for Developers
I’m using Unity 2021

I tried the Gradle downgrade mentioned here Upgrade Gradle for Android  |  Unity  |  Google for Developers but there is no option in the external dependencies tool to patch the baseProjectTemplate.gradle with the right info besides what is mentioned in the guide. In the end, I updated the project to Unity 2022.2 to completely by pass modifying the baseProjectTemplate.gradle, and Solved.