diff --git a/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties b/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties index cea16375d2..d9439e317f 100644 --- a/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties +++ b/pythonforandroid/bootstraps/common/build/templates/gradle.tmpl.properties @@ -6,4 +6,5 @@ org.gradle.jvmargs=-Xmx2500m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemor {% if args.enable_androidx %} android.useAndroidX=true android.enableJetifier=true -{% endif %} \ No newline at end of file +org.gradle.jvmargs=-Xmx2500m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +{% endif %}