Skip to content

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

@hung365dev

Description

@hung365dev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions