使用ScrollView出现此异常:com.Facebook.反应Uimanager.事件.TouchEvent合并键帮



android中的react原生问题:使用ScrollView、listView、TouchableOpacity等只要在华为7.0系统中运行与手势相关的功能,从边缘到中指滑动几次,就会发生崩溃。然后我去运行f8app出现了同样的问题!

E/AndroidRuntime:致命异常:mainjava.lang.RuntimeException:试图获取不存在的cookie网址:com.facebook.reflect.uimanager.events.TouchEventCoalessingKeyHelper.getCoalessingKey(TouchEventcoalessingKeyhelper.java:75)网址:com.facebook.reflect.uimanager.events.TouchEvent.init(TouchEvent.java:89)网址:com.facebook.reflect.uimanager.events.TouchEvent.group(TouchEvent.java:45)网址:com.facebook.reflect.uimanager.JSTouchDispatcher.handleTouchEvent(JSTouchDispatcher.java:114)网址:com.facebook.areact.ReactRootView.dispatchJSTouchEvent(ReactRootView.java:155)网址:com.facebook.areact.ReactRootView.oInterceptTouchEvent(ReactRootView.java:127)在android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2212)在android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2671)在android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)在android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2671)在android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)在android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2671)在android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)网址:com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:447)网址:com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1871)在android.app.Activity.dispatchTouchEvent(Activity.java:3213)网址:com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:409)在android.view.view.dispatchPointerEvent(view.java:10228)在android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:44845)在android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4705)在android.view.ViewRootImpl$InputStage.delive(ViewRootImpl.java:4238)在android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4291)在android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4257)在android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4384)在android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4265)在android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4441)在android.view.ViewRootImpl$InputStage.delive(ViewRootImpl.java:4238)在android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4291)在android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4257)在android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4265)在android.view.ViewRootImpl$InputStage.delive(ViewRootImpl.java:4238)在android.view.ViewRootImpl.deliveryInputEvent(ViewRootImpl.java:6665)在android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6639)在android.view.ViewRootImpl.enqueeInputEvent(ViewRootImpl.java:6600)在android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6792)在android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:192)在android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)在android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:181)在android.view.ViewRootImpl.doConsumerBatchedInput(ViewRootImpl.java:6739)在android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6820)在android.view.Cchoreographer$CallbackRecord.run(Choreographer.java:923)在android.view.Cchoreographer.doCallbacks(Choreographer.java:735)位于android.view.Cchoreographer.doFrame(Choreographer.java:661)位于android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:909)在android.os.Handler.handleCallback(Handler.java:755)在android.os.Handler.dispatchMessage(Handler.java:95)在android.os.Looper.loop(Looper.java:156)在android.app.ActivityThread.main(ActivityThreads.java:6524)位于java.lang.reflect.Method.ioke(本机方法)网址:com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)网址:com.android.internal.os.ZygoteInit.main(ZygoteNit.java:831)

这似乎是FB的一个已知问题:https://github.com/facebook/react-native/issues/5944&https://github.com/facebook/react-native/issues/11302

但目前没有解决方案。

相关内容

  • 没有找到相关文章

最新更新