Search Unity

Question Resolution fails with Conflict Errors Once Any Adapters Are Installed

Discussion in 'Unity Mediation' started by L3rmAnd7, Jun 6, 2022.

  1. L3rmAnd7

    L3rmAnd7

    Joined:
    Aug 10, 2015
    Posts:
    4
    Hi, I recieve the following warning after I install either Admob or IronSource adapters in the mediation configure window:
    upload_2022-6-6_13-10-16.png

    If I only install the Admob adapter, I only get conflict warnings, but the build still crashes on startup.
     
  2. L3rmAnd7

    L3rmAnd7

    Joined:
    Aug 10, 2015
    Posts:
    4
    Found the answer.. I was warned to remove Unity Ads before switching to Mediation, which i did, but the Packages/manifest.json still contained the dependency so removing that fixed everything.
     
  3. DeclanMcPartlin

    DeclanMcPartlin

    Unity Technologies

    Joined:
    Nov 19, 2020
    Posts:
    146
    Hi @L3rmAnd7,

    Thanks for sharing both your issue and answer, very appreciated. One thing to mention is that if you are not using a Custom Main Gradle Template file, we highly recommend using it, since it forces EDM4U (also known as Play Services Resolver) to resolve using Gradle's conflict resolution system, which is much more robust. Here are the steps for setting it up.

    Thanks again for reaching out!