[REQUIRED] Step 1: Describe your environment
- Unity version: 2021.3.30f1
- Google Mobile Ads Unity plugin version: 8.5.2
- Platform: Android - Unity Editor
- Mediation ad networks used, and their versions: Applovin 6.9.0, Liftoff 4.0.0, Meta 3.11.0, Mintegral 1.2.1, Pangle 2.3.0
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
If you force resolve, you will get
Assets/Plugins/Android/com.google.android.gms.play-services-ads-22.4.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-ads-base-22.4.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-ads-identifier-18.0.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-ads-lite-22.4.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-appset-16.0.1.aar
Assets/Plugins/Android/com.google.android.gms.play-services-base-18.2.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-basement-18.1.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-api-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-base-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-impl-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-sdk-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-sdk-api-21.3.0.aar
The resolve will complete without errors.
The issue when you try to build:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':launcher:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\Admin\.gradle\caches\transforms-2\files-2.1\00277a26865588baf0041d38a0cce91f\com.google.android.gms.play-services-ads-lite-22.4.0\AndroidManifest.xml:48:5-117: AAPT: error: unexpected element <property> found in <manifest><application>.
How to fix:
Assets\GoogleMobileAds\Editor\GoogleMobileAdsDependencies.xml
Change to:
androidPackage spec="com.google.android.gms:play-services-ads:[22.3.0]"
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
If you force resolve, you will get
Assets/Plugins/Android/com.google.android.gms.play-services-ads-22.4.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-ads-base-22.4.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-ads-identifier-18.0.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-ads-lite-22.4.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-appset-16.0.1.aar
Assets/Plugins/Android/com.google.android.gms.play-services-base-18.2.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-basement-18.1.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-api-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-base-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-impl-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-sdk-21.3.0.aar
Assets/Plugins/Android/com.google.android.gms.play-services-measurement-sdk-api-21.3.0.aar
The resolve will complete without errors.
The issue when you try to build:
FAILURE: Build completed with 2 failures.
How to fix:
Assets\GoogleMobileAds\Editor\GoogleMobileAdsDependencies.xml
Change to:
androidPackage spec="com.google.android.gms:play-services-ads:[22.3.0]"