mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Fixed Android build
This commit is contained in:
parent
619b426689
commit
a273bbaeee
@ -111,6 +111,9 @@ def enableHermes = project.ext.react.get("enableHermes", false);
|
||||
android {
|
||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
|
||||
// To fix this error:
|
||||
// > java.io.UncheckedIOException: java.io.IOException: Execution of compression failed. java.lang.OutOfMemoryError
|
||||
// https://stackoverflow.com/q/57284812/561309
|
||||
dexOptions { javaMaxHeapSize "4g" }
|
||||
|
||||
compileOptions {
|
||||
|
@ -21,4 +21,8 @@
|
||||
# https://github.com/react-native-community/react-native-webview/blob/master/docs/Getting-Started.md
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
|
||||
# To fix this error:
|
||||
# > java.io.UncheckedIOException: java.io.IOException: Execution of compression failed. java.lang.OutOfMemoryError
|
||||
# https://stackoverflow.com/q/57284812/561309
|
||||
org.gradle.jvmargs=-Xmx4608m
|
Loading…
Reference in New Issue
Block a user