Unable To Load Script From Assets index.android.bundle

Unable To Load Script From Assets index.android.bundle

Hey, Guys here is the solution to the problem commonly faced by many of React Native developers that is “Unable To Load Script From Assets index.android.bundle”.

Problem–> Unable To Load Script From Assets index.android.bundle. Make sure your bundle is packaged correctly or you’re running a packaged server.

This problem happens when we run the application using react-native run-android and it gets successfully installed in the device but either the development server has not started or if started, the installed app is unable to connect to the development server.

We have tried different solutions you can try it with your own.

Solution

Our first and the simple solution of “Unable To Load Script” problem is to check the following point

  1. Check whether your device is online or not?
  2. If you are running the application on the real device then the device should be on the same network where the development server is running.

These 2 simple checks can solve the problem easily.

                 

If you have any doubt or you want to share something about the topic you can comment below or contact us here. There will be more posts coming soon. Stay tuned!

Hope you liked it. 🙂

1 thought on “Unable To Load Script From Assets index.android.bundle”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.