Created
June 28, 2019 02:24
-
-
Save canhnm/fd8a9023f3555c2a35550ba0f0af033f to your computer and use it in GitHub Desktop.
React Native - Clean all cache to rebuild signed APK release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-_ && rm -rf \$TMPDIR/haste-_ && npm cache clean --force && npm cache verify && rm -rf android/build && rm -rf node_modules/ && npm i && rm android/app/src/main/assets/index.android.bundle && 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 clean && ENVFILE=.env ./gradlew assembleRelease |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment