致命异常:java.lang.LinkageError没有为com.google.android.gms.ads.nonagon.signals.n类定义超类

时间:2019-01-18 07:13:36

标签: android admob classnotfoundexception android-8.1-oreo linkageerror

此Crashlytics错误日志仅在Android设备上出现   Redmi Note 5 Pro OS 8.1.0(Oreo)。仅在此设备上经常出现错误。

我已经在清单中添加了以下行,以解决实时应用程序版本中的类似错误:

<uses-library
            android:name="org.apache.http.legacy"
            android:required="false" />

此链接表示团队正在努力解决同一问题: https://groups.google.com/forum/?hl=Es-419#!category-topic/google-admob-ads-sdk/android/K1HKru7RutY

Fatal Exception: java.lang.LinkageError
No superclass defined for class com.google.android.gms.ads.nonagon.signals.n (declaration of 'com.google.android.gms.ads.nonagon.signals.n' appears in /data/user_de/0/com.google.android.gms/app_chimera/m/00000007/AdsDynamite.apk)
dalvik.system.DexFile.defineClassNative (DexFile.java)
dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:123)
com.bumptech.glide.load.engine.EngineKeyFactory.loadClass (:com.google.android.gms.dynamite_dynamiteloader@14799051@14.7.99 (040408-223214910):3)
java.lang.ClassLoader.loadClass (ClassLoader.java:312)
com.google.android.gms.ads.nonagon.load.o.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):7)
aod.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):9)
com.google.android.gms.ads.nonagon.load.m.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):16)
aod.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):9)
com.google.android.gms.ads.nonagon.load.n.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):15)
aod.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):9)
com.google.android.gms.ads.nonagon.ad.interstitial.w.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):9)
aod.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):9)
com.google.android.gms.ads.nonagon.ad.interstitial.u.a (:com.google.android.gms.dynamite_adsdynamite@14799051@14.7.99 (040408-223214910):2)
com.google.android.gms.ads.InterstitialAd.loadAd (Unknown Source:6)
com.myapp.V2.ad.AdSetup.loadInterstatial (AdSetup.java:111)

从日志中可以推断出,尝试加载非页内广告时发生了错误。如何摆脱这种情况。

0 个答案:

没有答案