Skip to content

Instantly share code, notes, and snippets.



Last active Nov 15, 2019
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/ --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.