[Link]
com/react-native-community/upgrade-support/issues/38
[Link]
build-gradle-L81
[Link]
Update
I solved this issue by doing this before each build:
npx react-native bundle --platform android --dev false --entry-file [Link] --
bundle-output android/app/src/main/assets/[Link]
and then run
cd android
./gradlew assembleRelease
Adding the --assets-dest option to the command then gave a duplicate assets error
when building, so I skipped that and it works perfectly.
Also, I tried experimenting with the version of hermes-engine, but that had no
effect. This issue doesn't seem to be anything to do with Hermes.