React-native运行项目报错

requireNativeComponent: 'RNCVIewPager' was not found in the UIManager

(requireNativeComponent: ‘RNCVIewPager’ was not found in the UIManager)

使用ant-design的Tabs组件,android遇到这样报错
环境
“@ant-design/react-native”: “^3.2.0”,
“react-native”: “0.60.4”
解决方案:
运行安装 yarn add @react-native-community/viewpager

相关文章:

  • 2022-12-23
  • 2021-09-27
  • 2021-06-06
  • 2021-05-28
  • 2021-06-04
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案