Resolution Failed
[REQUIRED] Step 1: Describe your environment
- Unity version:2022.3.61f1
- Google Mobile Ads Unity plugin version: 9.3
- Plugin installation method: package (Unity package manager, .unitypackage import)
- Platform: Android (iOS, Android, Unity Editor)
- Platform OS version: Android 14 (eg iOS 10, Android 9)
- Any specific devices issue occurs on: Buill and resolution error
- Mediation ad networks used, and their versions: meta and unity
[REQUIRED] Step 2: Describe the problem
when you start resolution then failed : What went wrong: Execution failed for task ‘:process_androidx.annotation.annotation-experimental-1.4.0.aar’.
Steps to reproduce:
same above steps What happened? How can we make the problem occur? Then create problems if porject build with techniques then ads not showing
I have come across similar issues when using that version of the Unity Editor. I got around it by adding the following line to the gradleTemplates.properties file. This file should exist in Assets/Plugins/Android. If it doesn't exist, run Force Resolve from Assets > External Dependency Manager > Android Resolver > Force Resolve.
android.jetifier.blacklist=annotation-experimental-1.4.0.aar
Hope this helps!
We are in the process of updating our docs and will be including tooling to automate these steps.
For now, you can change the line to this:
android.jetifier.ignorelist=annotation-experimental-1.4.0.aar
This is now fixed