© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Chetan Kantharia
A Regular Guy
I have observed that react native is taking lot of space even for a simple todo app. Is there any procedure to reduce the app size
Atul Sharma
Full Stack Developer | Cloud Native Applications
Remove x86 from abi filters.
splits { abi { reset() enable true universalApk false include "armeabi-v7a", "x86" } }
Make following changes in build.gradle :
./android/app/build.gradle
Generate different APK's for different architecture
def enableSeparateBuildPerCPUArchitecture = true
Enable ProGuard :
def enableProguardInReleaseBuilds = true
Also set minifyEnabled true and shrinkResources true
minifyEnabled true
shrinkResources true
buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" } }
Atul Sharma
Full Stack Developer | Cloud Native Applications
Remove x86 from abi filters.
splits { abi { reset() enable true universalApk false include "armeabi-v7a", "x86" } }Make following changes in build.gradle :
./android/app/build.gradleGenerate different APK's for different architecture
def enableSeparateBuildPerCPUArchitecture = trueEnable ProGuard :
def enableProguardInReleaseBuilds = trueAlso set
minifyEnabled trueandshrinkResources truebuildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" } }