Release APK Not Updating With JavaScript Code
I deleted the index.android.*
files in android/app/src/main/assets/
directory. Then in the project root, ran
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
Then I regenerated the signed APK and voila!
EDIT: If you are using a newer project, you may not have an index.android.js
only index.js
. If that's the case, you'll want to change it to:
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
The release build apk is not reflecting the changes made in source code why ? -React native
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle
run this command.. may be it's sounds weird but it's work for me
reference : https://stackoverflow.com/a/60015205/6654562
Related Topics
How to Capture Key Events from Bluetooth Headset with Android
How to Add Radio Button Dynamically as Per The Given Number of Counts
How to Import an Existing Project from Github into Android Studio
How to Get Pid of Android Application Without Using Adb Shell
How to Check Which Current Image Resource Is Attached to Imageview in Android Xml
Selecting Contact from Autocomplete Textview
Firebase Console: How to Specify Click_Action for Notifications
Adb Doesn't Recognize My Galaxy Nexus - Win7
Is There Another Place to Get a Google-Services.JSON
Supporting Amazon and Android Market (Google Play) Links Inside Application
Android Convert Px to Dp (Video Aspect Ratio)
Android, How to Exec a SQL File in Sqlitedatabase
How to Save Data from Camera to Disk Using Mediastore on Android