Scaleup Infotech
Scaleup Infotech.
Back to Blog
Bug Fixes6 min read

Fix React Native 'Unable to load script' (Make Sure Metro Is Running)

Scaleup Infotech Team

Scaleup Infotech Team

Software & Marketing Agency

Apr 11, 2026
React NativeAndroidMetro

Direct Answer

This guide gives a simple overview of fix react native 'unable to load script' (make sure metro is running). If you need help turning the idea into a website, app, or business system, the related Scaleup Infotech services are listed below.

This red screen means the app couldn't download the JS bundle from Metro. Either Metro isn't running, or your device can't reach it. The fix depends on whether you're debugging or building a release.

The Error

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

Debug Build: Connect to Metro

bash
# Make sure Metro is running
npx react-native start

# Forward the Metro port to the device
adb reverse tcp:8081 tcp:8081

Physical Device: Set the Dev Server Host

On a real device, shake → Dev Settings → Debug server host, and set it to your machine's LAN IP and port 8081.

Release Build: Bundle the JS

bash
npx 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/res

Solution

Debugging on an emulator? adb reverse tcp:8081 tcp:8081 fixes it instantly. Building a release APK? You need the bundle command above.

Relevant Scaleup Infotech Services

Share this article:

Keep Reading

Ready to implement these ideas?

Work With Scaleup Infotech

Free Website Check

Pages, speed, forms