Commit graph

2 commits

Author SHA1 Message Date
Sascha Willems
a734964b21
Android build tool update (#1160)
* Update to latest Android build tools

ALooper_pollAll is deprecated

* Update to latest Android build tools

ALooper_pollAll is deprecated

* Update to latest Android build tools

Update manifests

* Update to latest Android build tools

ALooper_pollAll is deprecated

* Update build instructions for Android
2024-10-11 14:31:04 +02:00
robotchaoX
9578a603e8 Increase the JVM heap size for Gradle
[Why]
The Java Virtual Machine(JVM) maximum heap size(-Xmx) is 512M by default. It will occur out of memory eror when compiling for Android.
Android compiling error: "java.lang.OutOfMemoryError: Java heap space".

[How]
Configure JVM memory for Gradle by setting Gradle property org.gradle.jvmargs in gradle.properties file.
This gradle.properties file was generated by Android Studio settings.

Reference:
https://developer.android.com/build/optimize-your-build?utm_source=android-studio#increase-the-jvm-heap-size
https://docs.gradle.org/7.2/userguide/build_environment.html#sec:configuring_jvm_memory
2023-05-29 16:48:27 +08:00