react-native run-android command terminates by leaving a message in android simulator. The message is as follows:

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.

Screenshot

What am I doing wrong?

53 Answers
53

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.

Leave a Reply

Your email address will not be published. Required fields are marked *