I am having working React Native application having version 0.38.0, when i have tried to upgrade it to 0.45.1 it is showing following error
java.lang.RuntimeExce
Add these lines
project.ext.react = [ entryFile: "index.js", bundleAssetName: "index.android.bundle", bundleInAlpha: true, bundleInBeta: true ]
before apply from: "../../node_modules/react-native/react.gradle" in build.gradle
apply from: "../../node_modules/react-native/react.gradle"