Moon Light Box

Time is Money

React native - Unable to load script from assets 'index.android.bundle'.

| Comments

Step 1. Change React Native Web Server Port

AwesomeProject > react-native start --port 8082

...
...
 Running packager on port 8082.
 
 Keep this packager running while developing on any JS projects. Feel
 free to close this tab and run your own packager instance if you
 prefer.
...
...

Step 2. Reverse adb port

AwesomeProject > react-native run-android
AwesomeProject > adb kill-server
AwesomeProject > adb reverse tcp:8081 tcp:8082
AwesomeProject > adb reverse --list

...
...
(reverse) tcp:8081 tcp:8082
...
...

Step3. Enable Hot Reloading in App.

react

Comments

comments powered by Disqus