Once the key is generated, use it to generate the installable build

suggest change

Run this from the project root on older React Native apps whose Gradle build does not bundle JavaScript for you. Newer projects bundle during assembleRelease, so you can skip this command. The entry file index.android.js matches projects from this era. A current app usually uses index.js instead.

This command does not use the keystore. Signing is configured separately in android/app/build.gradle under signingConfigs, which is not shown here. Without that, assembleRelease still produces an unsigned APK.

react-native bundle --platform android --dev false --entry-file index.android.js \
--bundle-output android/app/src/main/assets/index.android.bundle \
--assets-dest android/app/src/main/res/

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents