To build APK without Metro server, use below command:
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/
Do create folder: android/app/src/main/assets/index.android.bundle
No comments:
Post a Comment