Skip to content

Commit

Permalink
fix build issue: java.io.UncheckedIOException: java.io.IOException: E…
Browse files Browse the repository at this point in the history
…xecution of compression failed
  • Loading branch information
dongyuwei committed Oct 7, 2021
1 parent 4eb027b commit cd221f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ buck-out/

# CocoaPods
/ios/Pods/
android/*.hprof
4 changes: 4 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}

dexOptions {
javaMaxHeapSize "4g"
}

defaultConfig {
applicationId "com.tiny_english_dictionary"
minSdkVersion rootProject.ext.minSdkVersion
Expand Down
1 change: 1 addition & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@

android.useAndroidX=true
android.enableJetifier=true
org.gradle.jvmargs=-Xmx4608M

0 comments on commit cd221f7

Please sign in to comment.