Skip to content

Commit cd221f7

Browse files
committed
fix build issue: java.io.UncheckedIOException: java.io.IOException: Execution of compression failed
1 parent 4eb027b commit cd221f7

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ buck-out/
5757

5858
# CocoaPods
5959
/ios/Pods/
60+
android/*.hprof

android/app/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ android {
127127
targetCompatibility JavaVersion.VERSION_1_8
128128
}
129129

130+
dexOptions {
131+
javaMaxHeapSize "4g"
132+
}
133+
130134
defaultConfig {
131135
applicationId "com.tiny_english_dictionary"
132136
minSdkVersion rootProject.ext.minSdkVersion

android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919

2020
android.useAndroidX=true
2121
android.enableJetifier=true
22+
org.gradle.jvmargs=-Xmx4608M

0 commit comments

Comments
 (0)