Skip to content

Instantly share code, notes, and snippets.

@rajakannan

rajakannan/react-note.md

Last active Nov 15, 2019
Embed
What would you like to do?
React / React Native apk build release build and cache clear

Clear bundle cache before release build

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/

Get a release build

cd android && ./gradlew assembleRelease && ../

Get a debug build

cd android && ./gradlew assembleDebug && ../
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.