xxxxxxxxxx
// Make sure you are running Metro bundler to load the script
// Start the Metro bundler by running "npx react-native start" in the project root directory
// If you're using Expo Managed workflow:
// 1. Make sure you have the latest version of Expo CLI installed: "npm install -g expo-cli"
// 2. Start the Metro bundler by running "expo start" in the project root directory
// If you're using Expo Bare workflow:
// You may need to manually start the Metro bundler depending on your setup, usually using the same commands as above.
xxxxxxxxxx
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.