Android devices support two major device architectures: armebi and x86 . By default, RN compiles its own libraries for both of these architectures in the same apk file.
Open Android / app /build.gradle:
Set def enableProguardInReleaseBuilds = true ,
this would allow Progaurd to compress Java bytecode. This reduces the size of the application.
And,
Set def enableSeparateBuildPerCPUArchitecture = true .
And check in android / app / build / output / apk / - you will get two apk files for armebi and x86 with a size of about half the original apk.
source share