Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

IUnityBannerListener class not found

Discussion in 'Unity Ads & User Acquisition' started by Sergey_Droba, May 29, 2020.

  1. Sergey_Droba

    Sergey_Droba

    Joined:
    Nov 6, 2016
    Posts:
    52
    Hi,
    I have this error on the android device.
    Unity 2019.3.14f1 Unity ads 3.4.5

    2020-05-29 14:33:43.689 4392-4445/? E/Unity: java.lang.ClassNotFoundException: com.unity3d.services.banners.IUnityBannerListener
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Advertisements.Advertisement:CreatePlatform()
    UnityEngine.Advertisements.Advertisement:.cctor()

    I even don't use banners, I have this error on initialization.
     
  2. sbankhead

    sbankhead

    Unity Technologies

    Joined:
    Jul 27, 2014
    Posts:
    97
    Are you using Packman or Asset Store installation. If asset store, do you still have the UnityAds.aar in your plugins folder?
     
  3. Sergey_Droba

    Sergey_Droba

    Joined:
    Nov 6, 2016
    Posts:
    52
    No, I use packman version,
    I downgraded to 3.4.4 and it works fine.
     
  4. MikePlaid

    MikePlaid

    Joined:
    Sep 26, 2019
    Posts:
    1
    Downgrading to 3.4.4 did not work for me. I have now tried every version of the Advertisements package from 3.4.1 to 3.5.0 with my project and I get that exact same error every time. Any other solutions I should try?

    Unity 2019.4.1f1
    Min API Level - Android 4.4 'KitKat' (API level 19)
    Target API Level - API level 29
    Scripting Backend - IL2CPP
    Api Compatibilty Level - .NET Standard 2.0
    Target Architectures - ARMv7 & ARM64
    Strip Engine Code - Yes
    Managed Stripping Level - Low
    Minify - None