I have upgraded to 0.59.3 react native using the rn-diff-purge method. According to that, in the app.gradle file, i need to add the following:
packagingOptions {
exclude "lib/arm64-v8a/libgnustl_shared.so"
exclude '/lib/mips64/**'
exclude '/lib/arm64-v8a/**'
exclude '/lib/x86_64/**'
}
This will cause the 64bit folders not generated in my apk. Therefore when i upload to google, it complains about this apk not compatible with 64bit environment.
However, if i were to remove the packagingOptions config, the 64 bit folder will be generated and i'm able to upload to google successfully but in my device, I'm trying out with Android version 7.1.1(nougat) it will crash. Can anyone help?
0.59.3
version of react-native theapp/build.gradle
does not havepackagingOptions
as far as I can see. github.com/react-native-community/rn-diff-purge/blob/release/… – Monandry