jithin mp
jithin mp

Reputation: 95

React-native app is crashing without error in android studio

I am getting these errors ;

java.lang.RuntimeException: Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.

Upvotes: 0

Views: 427

Answers (1)

Allan Joseph
Allan Joseph

Reputation: 145

Open up a new tab in the terminal and in your project folder type react-native-start and then go back to the other tab and run your project by typing react-native run-android

By using react-native start you will see the metro bundler starting up and running. If you want to clear the metro cache then type the below in your project directory

react-native start --reset-cache

Upvotes: 1

Related Questions