Answers for "generate apk for react native app"

2

react-native android build apk

cd android
./gradlew assembleRelease
Posted by: Guest on May-18-2020
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

Code answers related to "generate apk for react native app"

Browse Popular Code Answers by Language