Reputation: 41
I am building a react native app. Yesterday i have ran successfully cd android && ./gradlew bundleRelease
. After that, I have tried to run react-native run-android
but got this error: Unable to load script. Make sure you're either running a Metro (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
How to make it work again normally in debug mode?
Upvotes: 0
Views: 236
Reputation: 2068
Maybe try to run npm start -- --reset-cache
for the Metro Bundler and then in another terminal try to run react-native run-android
Upvotes: 0