ITADN

Build failed: Namespace 'com.google.unity.ads' is used in multiple modules and/or libraries: :googlemobileads-unity:, :unityLibrary:GoogleMobileAdsPlugin.androidlib

#4157Openhung365dev 创建于 2026-05-01
H
hung365devcommented
Hello, After updated Unity to 6000.4.4f1 I got a build failed with an exception below. ``` [:googlemobileads-unity:] C:\Users\xxx\.gradle\caches\9.1.0\transforms\30af69c29f2887673e70c8d8df67d979\workspace\transformed\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. For more information, See https://developer.android.com/studio/build/configure-app-module#set-namespace D:\Projects\project-test\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\src\main\AndroidManifest.xml Error: Validation failed, exiting FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:processReleaseMainManifest'. > Manifest merger failed with multiple errors, see logs ``` There is no issue with 6000.4.3f1 Unity version: 6000.4.4f1 or 6000.4.5f1 Library version: Google Mobile Ads for Unity 11.0.0
2 条评论