Search Unity

unity ads 3.3.0 getting error while trying to build android FAILURE: Build failed with an exception.

Discussion in 'Unity Ads & User Acquisition' started by UNITY3D_TEAM, Oct 22, 2019.

Thread Status:
Not open for further replies.
  1. UNITY3D_TEAM

    UNITY3D_TEAM

    Joined:
    Apr 23, 2012
    Posts:
    720
    unity sdk 3.3.0 getting error while trying to build for andrFAILURE: Build failed with an exception.

    i have attached screenshot
     

    Attached Files:

    • log2.JPG
      log2.JPG
      File size:
      125.7 KB
      Views:
      428
  2. Zepir

    Zepir

    Joined:
    Dec 16, 2016
    Posts:
    18
    I had the same error, did you try to integrate Unity Ads with Mediation with Google Mobile Ads SDK?
    I didn't want to use mediation so I solved it deleting GoogleMobileAds Asset and some temp files like YourProjectDirectory\Temp\gradleOut\libs\com.google.ads.mediation.unity-VERSION.
    If you want to use mediation you probably need to remove the package Unity Ads from the package manager.
     
  3. UNITY3D_TEAM

    UNITY3D_TEAM

    Joined:
    Apr 23, 2012
    Posts:
    720
    what version unity u are using ?
    im using 2019.2.6
     
  4. Zepir

    Zepir

    Joined:
    Dec 16, 2016
    Posts:
    18
    2019.2.8f1
     
  5. UNITY3D_TEAM

    UNITY3D_TEAM

    Joined:
    Apr 23, 2012
    Posts:
    720
    but i dont like to use mediation sdk. unity support team need to fix this
     
  6. Khubaib

    Khubaib

    Joined:
    Aug 4, 2018
    Posts:
    3
    I think you should use Unity Monetization 3.3.0 and remove Unity Ads by going to Windows>Package Manager>Ads and select remove. Then try to build.
     
  7. dlolg

    dlolg

    Joined:
    Sep 25, 2018
    Posts:
    13
    I had the same error can u solve that?
     
  8. Khubaib

    Khubaib

    Joined:
    Aug 4, 2018
    Posts:
    3
    I also had same errors but i fixed them by removing Unity Ads by going to Windows>Package Manager>Ads.
     
  9. UNITY3D_TEAM

    UNITY3D_TEAM

    Joined:
    Apr 23, 2012
    Posts:
    720
    i solved by disabling unity ads in services in window panel.after enabling one time .before building just disable unity ads it will work
     
Thread Status:
Not open for further replies.