Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Colliding Attributes

Discussion in 'Editor & General Support' started by jacobbruggemann77, Jul 13, 2019.

  1. jacobbruggemann77

    jacobbruggemann77

    Joined:
    Jul 10, 2019
    Posts:
    1
    After changing the minimum API level, my game no longer builds as there are colliding attributes with regards to the app ID. In one it is the correct app ID from google and in the other it is a random number. Whenever I try to correct one of the manifests or add in the suggestion from the error, it just changes back to when built, this is the same with all androidmanifest files.

    I have since changed back to the original API level but it still will not build. Here is part of the console error message;

    * What went wrong:
    Execution failed for task 'processReleaseManifest'.
    > Manifest merger failed : Attribute meta-data#com.google.android.gms.games.APP_ID@value value=(\729693384373) from [:GameServicesManifest.plugin] AndroidManifest.xml:10:13-42
    is also present at [:GooglePlayGamesManifest.plugin] AndroidManifest.xml:20:13-46 value=(\u003729693384373).
    Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:8:9-10:45 to override.

    I hope someone can help as everything I've tried hasn't worked.
     
    Last edited: Jul 13, 2019
  2. alex_roboto

    alex_roboto

    Joined:
    Nov 11, 2019
    Posts:
    24
    There's an option in the Google Play Resolver/External Dependency Resolver called "Patch AndroidManifest.xml". Try checking that then re-resolve using the resolver.
     
  3. Splashy_Games

    Splashy_Games

    Joined:
    Aug 28, 2019
    Posts:
    2
    Where can I find the option "Patch AndroidManifest.xml"?