Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
don't run debug version, to create apk release version first you must run:
npx react-native run-android --variant=release
or
react-native run-android --variant=release
Then APK can be found in android/app/build/outputs/apk/release
Hi Zilu. Follow your instructions, obtain error:
Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
don't run debug version, to create apk release version first you must run:
npx react-native run-android --variant=release
or
react-native run-android --variant=release
Then APK can be found in android/app/build/outputs/apk/release
You get this error after running which command?
Could you please provide more details.