Here is my build.gradle:
apply plugin: \"com.android.application\"
import com.android.build.OutputFile
/**
* The react.gradle file re
you are almost there remove ndk,
ndk {
abiFilters 'armeabi-v7a' , 'x86'
} // these are not necessary it won't affect anything
then add in abi -> include
abi{
...
include "x86", "x86_64", "armeabi-v7a", "arm64-v8a"
}
last add versionCodes,
def versionCodes = ["x86":1,"x86_64":2,"armeabi-v7a":3,"arm64-v8a":4]
React Native 0.59 fully supports 64-bit Android builds, it already has the needed changes for the Gradle scripts, so there is no need to search for what exactly should one add.
If you have the possibility to upgrade RN in your project, might just do that using great rn-diff-purge and the helper around it. But keep in mind that some other dependencies might also need to be upgraded to newer versions supporting RN 0.59.