1After run this in cmd
2
3react-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/
4
5cd android && ./gradlew assembleDebug
6
7then you can get apk app/build/outputs/apk/debug/app-debug.apk
1Before uploading the release build to the Play Store,
2make sure you test it thoroughly.
3
4mkdir -p android/app/src/main/assets
5react-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
6react-native run-android --variant=release
7
8cd android && ./gradlew bundleRelease -x bundleReleaseJsAndAssets
9
10- Your AAB will be present in the folder
11<project>/android/app/build/outputs/bundle/release
1Before uploading the release build to the Play Store,
2make sure you test it thoroughly.
3
4mkdir -p android/app/src/main/assets
5react-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
6react-native run-android --variant=release
7
8Export Apk -
9cd android && ./gradlew bundleRelease -x bundleReleaseJsAndAssets
10
11- Your AAB BUNDLE will be present in the folder
12<project>/android/app/build/outputs/bundle/release
1debug build
2
3yarn 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 && cd android && ./gradlew assembleDebug
4