Solution
Solution
com/react-native-community/upgrade-support/issues/38
https://gist.github.com/palkerecsenyi/6c09728996c4f982dc3bd11ad757c45b#file-app-
build-gradle-L81
https://github.com/facebook/react-native/issues/6745
Update
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.