当前位置: 首页 > 工具软件 > Loop Picker > 使用案例 >

rn android 闪退,Android 闪退问题 · Issue #126 · syanbo/react-native-syan-image-picker · GitHub...

雍光远
2023-12-01

React-Native 版本:0.59.8

机型: MIX 2/R11

android 版本:8.0.0/8.1.0/7.1.1

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.dispatchCancelPendingInputEvents()' on a null object reference

at android.view.ViewGroup.dispatchCancelPendingInputEvents(ViewGroup.java:4490)

at android.view.ViewGroup.dispatchCancelPendingInputEvents(ViewGroup.java:4490)

at android.view.ViewGroup.dispatchCancelPendingInputEvents(ViewGroup.java:4490)

at android.view.ViewGroup.dispatchCancelPendingInputEvents(ViewGroup.java:4490)

at android.view.ViewGroup.dispatchCancelPendingInputEvents(ViewGroup.java:4490)

at android.view.ViewGroup.dispatchCancelPendingInputEvents(ViewGroup.java:4490)

at android.view.View.cancelPendingInputEvents(View.java:17803)

at android.app.Activity.cancelInputsAndStartExitTransition(Activity.java:4701)

at android.app.Activity.startActivityForResult(Activity.java:4680)

at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:767)

at android.app.Activity.startActivityForResult(Activity.java:4607)

at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:754)

at com.luck.picture.lib.PictureSelectionModel.forResult(PictureSelectionModel.java:417)

at com.syanpicker.RNSyanImagePickerModule.openImagePicker(RNSyanImagePickerModule.java:200)

at com.syanpicker.RNSyanImagePickerModule.asyncShowImagePicker(RNSyanImagePickerModule.java:76)

at java.lang.reflect.Method.invoke(Method.java:-2)

at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)

at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)

at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java:-2)

at android.os.Handler.handleCallback(Handler.java:790)

at android.os.Handler.dispatchMessage(Handler.java:99)

at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)

at android.os.Looper.loop(Looper.java:197)

at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:232)

at java.lang.Thread.run(Thread.java:764)

 类似资料: