Get in touch
or send us a question?
CONTACT

React-Native APK build command

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