File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,30 @@ android {
87
87
targetSdkVersion rootProject. ext. targetSdkVersion
88
88
versionCode 22
89
89
versionName " 1.3.3"
90
+
91
+ // Increase memory allocated to Gradle
92
+ dexOptions {
93
+ javaMaxHeapSize " 4g"
94
+ }
95
+ }
96
+
97
+ // Add large heap support to the application
98
+ aaptOptions {
99
+ cruncherEnabled = false
90
100
}
101
+
102
+ packagingOptions {
103
+ // Exclude unnecessary files to reduce APK size
104
+ exclude ' META-INF/DEPENDENCIES'
105
+ exclude ' META-INF/LICENSE'
106
+ exclude ' META-INF/LICENSE.txt'
107
+ exclude ' META-INF/license.txt'
108
+ exclude ' META-INF/NOTICE'
109
+ exclude ' META-INF/NOTICE.txt'
110
+ exclude ' META-INF/notice.txt'
111
+ exclude ' META-INF/ASL2.0'
112
+ }
113
+
91
114
signingConfigs {
92
115
debug {
93
116
storeFile file(' debug.keystore' )
Original file line number Diff line number Diff line change 11
11
android : allowBackup =" false"
12
12
android : theme =" @style/AppTheme"
13
13
android : supportsRtl =" true"
14
- android : gwpAsanMode =" always" >
14
+ android : gwpAsanMode =" always"
15
+ android : largeHeap =" true" >
15
16
<activity
16
17
android : name =" .MainActivity"
17
18
android : label =" @string/app_name"
You can’t perform that action at this time.
0 commit comments