[REQUIRED] Step 1: Describe your environment
- Unity version: 6000.3.17
- Google Mobile Ads Unity plugin version: 11.2
- Plugin installation method: Package Manager
- Platform: Android
- Platform OS version: Android 16
- Any specific devices issue occurs on: No
- Mediation ad networks used, and their versions: Applovin, Liffoff, UnityAds
[REQUIRED] Step 2: Describe the problem
[:googlemobileads-unity:] D:\Unity.gradle\jetified-googlemobileads-unity\AndroidManifest.xml Error:
Namespace 'com.google.unity.ads' is used in multiple modules and/or libraries: :googlemobileads-unity:, :unityLibrary:GoogleMobileAdsPlugin.androidlib. Please ensure that all modules and libraries have a unique namespace.
Validation failed, exiting
FAILURE: Build failed with an exception.
If I delete one of these:
- googlemobileads-unity.aar
- GoogleMobileAdsPlugin.androidlib
it gives an error due to its absence.
With Unity 6000.3.16 works fine.
In Unity 6000.3.17, you can specify the ProGuard file in the Unity Player settings:
Assets\Plugins\Android\proguard-user.txt but this is no longer possible with AGP 9.0.
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
[:googlemobileads-unity:] D:\Unity.gradle\jetified-googlemobileads-unity\AndroidManifest.xml Error:
Namespace 'com.google.unity.ads' is used in multiple modules and/or libraries: :googlemobileads-unity:, :unityLibrary:GoogleMobileAdsPlugin.androidlib. Please ensure that all modules and libraries have a unique namespace.
Validation failed, exiting
FAILURE: Build failed with an exception.
If I delete one of these:
it gives an error due to its absence.
With Unity 6000.3.16 works fine.
In Unity 6000.3.17, you can specify the ProGuard file in the Unity Player settings:
Assets\Plugins\Android\proguard-user.txt but this is no longer possible with AGP 9.0.