Admob-lite vs full version: MobileAdsSettingManagerCreatorImpl

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Admob-lite vs full version: MobileAdsSettingManagerCreatorImpl



My app uses play-services-ads-15.0.1 dependency, which in turn depends on play-services-ads-lite


play-services-ads-15.0.1


play-services-ads-lite



But when the app runs on an emulator, there is an error message:



E/Ads: This app is using a lightweight version of the Google Mobile
Ads SDK that requires the latest Google Play services to be installed,
but Google Play services is either missing or out of date.



and no Admob test-ads load.
This warning shows in logcat:


W/Ads:
Could not get remote MobileAdsSettingManager.
com.google.android.gms.dynamic.RemoteCreator$RemoteCreatorException: Could not load creator class.
at com.google.android.gms.dynamic.RemoteCreator.getRemoteCreatorInstance(Unknown Source:51)
at com.google.android.gms.internal.ads.zzme.zzg(Unknown Source:5)
at com.google.android.gms.internal.ads.zzjw.zzib(Unknown Source:8)
at com.google.android.gms.internal.ads.zzjr$zza.zzid(Unknown Source:0)
at com.google.android.gms.internal.ads.zzjr.zza(Unknown Source:75)
at com.google.android.gms.internal.ads.zzmb.zza(Unknown Source:32)
at com.google.android.gms.ads.MobileAds.initialize(Unknown Source:7)
at com.google.android.gms.ads.MobileAds.initialize(Unknown Source:1)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.ads.MobileAdsSettingManagerCreatorImpl" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/priv-app/PrebuiltGmsCorePano/PrebuiltGmsCorePano.apk"],nativeLibraryDirectories=[/system/priv-app/PrebuiltGmsCorePano/lib/x86, /system/fake-libs, /system/priv-app/PrebuiltGmsCorePano/PrebuiltGmsCorePano.apk!/lib/x86, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.google.android.gms.dynamic.RemoteCreator.getRemoteCreatorInstance(Unknown Source:27)
... 27 more



It looks like only the "ads-lite" jar is found, but not the "full version".



How can I fix this?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived