我看到facebook的受众网络原生广告在我的用户的android设备上崩溃了。我无法重现这个问题,我在crashlytics控制台上看到它。我正在使用最新的facebook audience-network-sdk 6.2
. 我有旧的sdk5.7应用程序,我没有看到这个问题。坠机原因是:
致命异常:java.lang.nosuchmethoderror
No static method getSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences; in class Lcom/facebook/ads/internal/settings/AdSharedPreferences; or its super classes (declaration of 'com.facebook.ads.internal.settings.AdSharedPreferences' appears in /data/app/<app id>-1/base.apk)
com.facebook.ads.redexgen.X.4u.isTestMode (4u.java:12285)
com.facebook.ads.internal.settings.AdInternalSettings.isTestMode (AdInternalSettings.java)
com.facebook.ads.AdSettings.isTestMode (AdSettings.java)
com.facebook.ads.redexgen.X.1m.A01 (1m.java:3656)
com.facebook.ads.redexgen.X.SJ.A0D (SJ.java:52213)
com.facebook.ads.redexgen.X.SJ.A0T (SJ.java:52288)
com.facebook.ads.redexgen.X.SJ.A0U (SJ.java:52290)
com.facebook.ads.redexgen.X.cD.A1U (cD.java:72218)
com.facebook.ads.redexgen.X.Je.A00 (Je.java:40169)
com.facebook.ads.redexgen.X.cD.loadAd (cD.java:72343)
com.facebook.ads.NativeAdBase.loadAd (NativeAdBase.java)
ads.NativeAdActivity.access$000 (NativeAdActivity.java)
请帮忙,在网上找不到任何东西。
暂无答案!
目前还没有任何答案,快来回答吧!