Step 1:
cd project directory
Step 2:
mkdir -p android/app/src/main/assets && rm -rf android/app/build && 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 && cd android && ./gradlew assembleDebug && cd ..
Step 3:
Get APK in this directory
Project directory\android\app\build\outputs\apk
You need to login in order to like this post: click here
YOU MIGHT ALSO LIKE