Hi!
I’m using the embedded Unity Ads library (Enable build-in ads extension, from the Services menu), but every day Unity asks me to update it. Is that because I’m still with Unity 5.6.2? Since my release is really close, I’m don’t want to upgrade just now. Is it safe to just switch to the asset store version?
I’m also noticing this on the Android logcat.
I/Unity (11828): AndroidJavaException: java.lang.ClassNotFoundException: com.unity3d.ads.IUnityAdsListener
I/Unity (11828): java.lang.ClassNotFoundException: com.unity3d.ads.IUnityAdsListener
I/Unity (11828): at java.lang.Class.classForName(Native Method)
I/Unity (11828): at java.lang.Class.forName(Class.java:308)
I/Unity (11828): at java.lang.Class.forName(Class.java:272)
I/Unity (11828): at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
I/Unity (11828): at com.unity3d.player.UnityPlayer.c(Unknown Source)
I/Unity (11828): at com.unity3d.player.UnityPlayer$c$1.handleMessage(Unknown Source)
I/Unity (11828): at android.os.Handler.dispatchMessage(Handler.java:98)
I/Unity (11828): at android.os.Looper.loop(Looper.java:145)
I/Unity (11828): at com.unity3d.player.UnityPlayer$c.run(Unknown Source)
I/Unity (11828): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.unity3d.ads.IUnityAdsListener" on path: DexPathList[[zip file "/data/app/com.soulgit.bananas-1/base.apk"],nativeLibraryDirectories=[/data/app/com.soulgit.bananas-1/lib/arm, /vendor/lib, /system/lib]]
By that, looks like it’s not even included in the build. Advertisement.Show() works onny in the Editor, not on Android builds.
And now I noticed AdMob (which I’m using for mediation with a few other networks) is giving that error. I can’t be certain if Unity Ads is delivering or not to AdMob.
W/Ads (20538): Fail to instantiate adapter com.google.ads.mediation.unity.UnityAdapter