Hi there, I had added the Google Mobile Ads plugin (https://github.com/googleads/googleads-mobile-unity) and the google-play-services_lib to the game and it worked but when I added the Play Games for Unity (https://github.com/playgameservices/play-games-plugin-for-unity) the adds stopped working. Well, before I could test them I had to move the admob attrs, admob styles and admobs strings from the google-play-services_lib/res/values to plugins/android/googlemobileads/res/values to compile the game. Now, the play games services works properly but no adds are showed as before. In the unity console appears the log correctly as it's creating the banners but in the mobile no adds are shown. Also, I used the android sdk monitor and it looks like the plugin isn't working, there aren't logs about the GMA. I configured the test ads but neither work.
What can I do?
* I've found this in the Debugger:
> I/Unity﹕ AndroidJavaException:
> java.lang.ClassNotFoundException:> com.google.android.gms.ads.AdSize> at UnityEngine.AndroidJNISafe.CheckException> () [0x00000] in :0> at UnityEngine.AndroidJNISafe.CallStaticObjectMethod> (IntPtr clazz, IntPtr methodID,> UnityEngine.jvalue[] args) [0x00000]> in :0> at UnityEngine.AndroidJavaObject._CallStatic[AndroidJavaObject]> (System.String methodName,> System.Object[] args) [0x00000] in> :0> at UnityEngine.AndroidJavaObject.CallStatic[AndroidJavaObject]> (System.String methodName,> System.Object[] args) [0x00000] in> :0> at UnityEngine.AndroidJavaObject.FindClass> (System.String name) [0x00000] in> :0> at UnityEngine.AndroidJavaObject._AndroidJavaObject> (System.String className,> System.Object[] args) [0x00000] in> :0> at UnityEngine.AndroidJavaObject..ctor> (System.String className,> System.Object[] args) [0x00000] in> :0> at GoogleMobileAds.Android.Utils.Get
↧