Answer the question
In order to leave comments, you need to log in
Why is React Native building an old apk version?
Good afternoon!
I ran into a problem when building apk with the command
$ cd android
$ ./gradlew assembleRelease
1. cd android
2. ./gradlew clean
3. ./gradlew assembleRelease
react-native start --reset-cache
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
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
Answer the question
In order to leave comments, you need to log in
Good afternoon!
Please try:
watchman watch-del-all && rm -rf node_modules/ && npm verify && npm install && cd android && rm -rf build && ./gradlew clean && gradlew assembleRelease
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question