How to Reduce the app size in React Native?
./android/app/build.gradle
Step 1.1 Remove x86 from abi filters.
Make following changes in build.gradle :
Open up /android/app/build.gradle
Generate different APK's for different architecture
Enable ProGuard :
Step 2 Set def enableProguardInReleaseBuilds = true
default false
Step 3 Set def enableSeparateBuildPerCPUArchitecture = true
default false
./android/app/build.gradle
Step 1.1 Remove x86 from abi filters.
Make following changes in build.gradle :
Open up /android/app/build.gradle
Generate different APK's for different architecture
Enable ProGuard :
Step 2 Set def enableProguardInReleaseBuilds = true
default false
Step 3 Set def enableSeparateBuildPerCPUArchitecture = true
default false
No comments:
Post a Comment