react-native run-android command terminates by leaving a message in android simulator. The message is as follows:
react-native run-android
Unable to load script.Make sure you are either running a Metro server or that your bundle 'index.android.bundle' is packaged correctly for release.
What am I doing wrong?
You haven't started the bundler yet. Run npm start or react-native start in the root directory of your project before react-native run-android.
npm start
react-native start
2.1m questions
2.1m answers
60 comments
57.0k users