Answers for "generate build in react native"

1

react-native release build

cd android && ./gradlew assembleRelease
Posted by: Guest on March-17-2021
0

react native build

cd android
./gradlew bundleRelease
Posted by: Guest on June-29-2021
0

export app react native

mkdir -p android/app/src/main/assets
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 assembleRelease -x bundleReleaseJsAndAssets

- Your APK will be present in the folder
<project>/android/app/build/outputs/apk/release
Posted by: Guest on April-28-2020
-1

how to make apk in android studio reac native

$ keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
Posted by: Guest on June-30-2020

Code answers related to "generate build in react native"

Browse Popular Code Answers by Language