小编Mar*_*ang的帖子

RCTView 为 validAttributes 生成的视图配置与本机不匹配

React Native 应用程序加载后崩溃,即使它一周前还在工作。

生成的错误是:

RCTView generated view config for validAttributes does not match native, missing: onPointerOut onTouchCancel onStartShouldSetResponder onTouchStart gap onStartShouldSetResponderCapture onMoveShouldSetResponderCapture columnGap onPointerLeaveCapture onTouchEnd accessibilityCollection onResponderTerminationRequest...

我试过了:

  • 卸载应用程序,
  • 删除android文件夹中的build文件夹,
  • 重新安装节点包,
  • 重置 npm 缓存

应用程序通常会立即启动,不会出现任何错误。

mobile android react-native

5
推荐指数
1
解决办法
2170
查看次数

标签 统计

android ×1

mobile ×1

react-native ×1