我最近将我的应用的Facebook Audience SDK更新到了最新版本,由于AdListener中新增了onLoggingImpression方法,导致我的应用一直崩溃。以下是我收到的堆栈跟踪信息。我在这里使用自定义的AdMob Facebook适配器。
java.lang.AbstractMethodError: abstract method "void com.facebook.ads.AdListener.onLoggingImpression(com.facebook.ads.Ad)"
at com.facebook.ads.InterstitialAd$1.b(Unknown Source)
at com.facebook.ads.internal.DisplayAdController$11.onInterstitialLoggingImpression(Unknown Source)
at com.facebook.ads.internal.adapters.s.onReceive(Unknown Source)
at android.support.v4.b.g.a(LocalBroadcastManager.java:297)
at android.support.v4.b.g.a(LocalBroadcastManager.java:46)
at android.support.v4.b.g$1.handleMessage(LocalBroadcastManager.java:116)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
*