I'm getting a lot of crashes from Android 4 with trying to load Firebase Admob ads. You can reproduce with and emulator based on SDK Platform Level 15.
Here's one example. It is with a Rewarded Video ad, but this error happens with every type of ad.
I guess I can just exclude ads for Android 4, but wondered if there is some other potential fix.
Here's one example. It is with a Rewarded Video ad, but this error happens with every type of ad.
loadgamepanel_rewardadload (java line: 2026)
java.lang.ExceptionInInitializerError
at com.google.android.gms.internal.ads.zzcsk.get(com.google.android.gmslay-services-ads@@19.4.0:10)
at com.google.android.gms.internal.ads.zzcrz.get(com.google.android.gmslay-services-ads@@19.4.0:6)
at com.google.android.gms.internal.ads.zzeov.get(com.google.android.gmslay-services-ads@@19.4.0:10)
at com.google.android.gms.internal.ads.zzcrp.get(com.google.android.gmslay-services-ads@@19.4.0:7)
at com.google.android.gms.internal.ads.zzeov.get(com.google.android.gmslay-services-ads@@19.4.0:10)
at com.google.android.gms.internal.ads.zzepd.get(com.google.android.gmslay-services-ads@@19.4.0:17)
at com.google.android.gms.internal.ads.zzbyw.get(com.google.android.gmslay-services-ads@@19.4.0:7)
at com.google.android.gms.internal.ads.zzeov.get(com.google.android.gmslay-services-ads@@19.4.0:10)
at com.google.android.gms.internal.ads.zzbkv.zzaev(com.google.android.gmslay-services-ads@@19.4.0:226)
at com.google.android.gms.internal.ads.zzdln.zza(com.google.android.gmslay-services-ads@@19.4.0:5)
at com.google.android.gms.internal.ads.zzdnb.zza(com.google.android.gmslay-services-ads@@19.4.0:32)
at com.google.android.gms.internal.ads.zzdnp.zza(com.google.android.gmslay-services-ads@@19.4.0:18)
at com.google.android.gms.internal.ads.zzauo.zza(com.google.android.gmslay-services-ads-lite@@19.4.0:13)
at com.google.android.gms.internal.ads.zzauo.loadAd(com.google.android.gmslay-services-ads-lite@@19.4.0:18)
at anywheresoftware.b4a.admobwrapper.AdViewWrapper$RewardedVideoAdWrapper.LoadAd(AdViewWrapper.java:435)
at mindware.mindgames.loadgamepanel._rewardadload(loadgamepanel.java:2026)
at mindware.mindgames.loadgamepanel$ResumableSub_RewardAdPrompt.resume(loadgamepanel.java:2150)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:267)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:207)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.keywords.Common$1.onClick(Common.java:490)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
at android.os.Handler.dispatchMessage(Handler.java:99)
I guess I can just exclude ads for Android 4, but wondered if there is some other potential fix.