在实施Facebook Audience Network之后,我发现在播放控制台和firebase上记录了很多这些错误。
我无法在我的测试中复制它,但它影响了我的很多用户,并且对我的评论产生了负面影响。
我只是想知道在删除此集成之前是否有人知道如何修复它。
以下是详细信息:
java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2338)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2390)
at android.app.ActivityThread.access$800 (ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1321)
at android.os.Handler.dispatchMessage (Handler.java:110)
at android.os.Looper.loop (Looper.java:193)
at android.app.ActivityThread.main (ActivityThread.java:5292)
at java.lang.reflect.Method.invokeNative (Method.java)
at java.lang.reflect.Method.invoke (Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:828)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:644)
at dalvik.system.NativeStart.main (NativeStart.java)
Caused by: java.lang.NullPointerException:
at com.facebook.ads.internal.view.n.setUpContent (n.java)
at com.facebook.ads.internal.view.n.a (n.java)
at com.facebook.ads.AudienceNetworkActivity.onCreate (AudienceNetworkActivity.java)
at android.app.Activity.performCreate (Activity.java:5287)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2302)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2390)
at android.app.ActivityThread.access$800 (ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1321)
at android.os.Handler.dispatchMessage (Handler.java:110)
at android.os.Looper.loop (Looper.java:193)
at android.app.ActivityThread.main (ActivityThread.java:5292)
at java.lang.reflect.Method.invokeNative (Method.java)
at java.lang.reflect.Method.invoke (Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:828)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:644)
at dalvik.system.NativeStart.main (NativeStart.java)
是否可以捕获此异常并阻止应用关闭?