I am using React native 0.52.0 and react-native-cli 2.0.1 on my Windows PC for android development. Despite all the changes i have made. When I run react-native run-an
After trying @SmoggeR_js answer and still if you have the same problem try following (Assuming that you have created keys and already signed the apk)
build inside android/app folderbuild inside android folderrm -rf $HOME/.gradle/caches/ to delete cachebuild.gradle --> android/app/build.gradleapply from: "../../node_modules/react-native/react.gradle"index.android.bundle file from assets folder ( android/app/src/main/assets/index.android.bundle)react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/resreact-native run-android --variant=release (you have to generate signed keys and all the keys should updated in the gradle file ref (https://s-pace.github.io/react-native/docs/signed-apk-android.html)