how to run react in production mode without npm build code example
Example 1: how to run a cloned react native project
...
include ':ReactAndroid'
project(':ReactAndroid').projectDir = new File(
rootProject.projectDir, '../node_modules/react-native/ReactAndroid')
...
Example 2: how to run a cloned react native project
...
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':ReactAndroid')
...
}
...