反应本机错误尝试在空对象引用上调用虚拟方法'void com.facebook.marketing.ViewIndexer.unschedule()'

时间:2019-03-13 01:42:10

标签: javascript react-native

我使用react-native-facebook-account-kit库。该版本已上传生产。我得到这个错误。但我不知道错误在哪里

错误细节打击

Fatal Exception: java.lang.RuntimeException: Unable to pause activity {com.abc.xyz/com.facebook.accountkit.ui.AccountKitActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.facebook.marketing.ViewIndexer.unschedule()' on a null object reference
   at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:3914)
   at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3880)
   at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3854)
   at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3828)
   at android.app.ActivityThread.-wrap15(Unknown Source)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1611)
   at android.os.Handler.dispatchMessage(Handler.java:106)
   at android.os.Looper.loop(Looper.java:164)
   at android.app.ActivityThread.main(ActivityThread.java:6530)
   at java.lang.reflect.Method.invoke(Method.java)
   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

本机:0.55.0

react-native-fbsdk:0.8.0

react-native-facebook-account-kit:0.10.1

对不起,我的英语不好。 感谢您阅读帖子

0 个答案:

没有答案