79316974

Date: 2024-12-30 06:50:42
Score: 2.5
Natty:
Report link

How to Fix Build Issues in React Native by Cleaning and Disabling New Architecture?

I encountered build issues while running my React Native project on Android. Here's what I did to resolve the problem

  1. cd android then gradlew clean

Disabled New Architecture

2.Edited the android/gradle.properties file and changed

newArchEnabled=true to newArchEnabled=false

3.then cd .. npm start --reset-cache npm run android

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How to Fix
  • Low reputation (1):
Posted by: Sameera Jayakodi