java.lang.verifyError after updating to Admob version 18.1.1

让人想犯罪 __ 提交于 2019-12-24 07:19:59

问题


I updated from com.google.android.gms:play-services-ads:18.1.0 to com.google.android.gms:play-services-ads:18.1.1, and I am seeing the following error in android vitals:

java.lang.VerifyError: 
  at com.google.android.gms.internal.ads.zzdan.zzdt (zzdan.java)
  at com.google.android.gms.internal.ads.zzbew.zzaf (zzbew.java)
  at com.google.android.gms.internal.ads.zzclu.zza (zzclu.java)
  at com.google.android.gms.internal.ads.zzww.zza (zzww.java)
  at com.google.android.gms.ads.InterstitialAd.loadAd (InterstitialAd.java)

It appears to be only affecting older devices running android 4.2, 4.3 and 4.4. Does anyone know what this error is? I read that updating the min sdk version from 14 to 16 might help (I'm about to try that), but any insights appreciated.

Update: changing the min sdk version made no difference. I'm still seeing this error and have recreated it on an old Galaxy S3 test device. Swapping the Admob version back to 18.1.0 fixes it, so it's definitely an issue with that particular version. Trying to see if I can code a workaround to at least stop the app from crashing. Will report to the Admob team.

来源:https://stackoverflow.com/questions/57342096/java-lang-verifyerror-after-updating-to-admob-version-18-1-1

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!