You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

React Native 0.71.x中如何禁用默认开启的Fabric架构?

React Native 0.71.x 禁用Fabric架构步骤

iOS平台配置

  • 打开项目中的Podfile,找到use_react_native!代码行,修改为带禁用参数的形式:
    use_react_native!(:path => config["reactNativePath"], :fabric_enabled => false)
    
  • 执行pod install命令重新安装Pod依赖

Android平台配置

  • 打开项目根目录下的gradle.properties文件
  • 添加或修改以下配置项:
    newArchEnabled=false
    
  • 同步Gradle配置后重新构建项目

修改完成后Fabric架构会被禁用,react-native-fast-image即可正常使用。

内容的提问来源于stack exchange,提问作者Zephyr

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.24 07:17:01