About 1 time in 3 when doing a build with Gradle I get:
-
About 1 time in 3 when doing a build with Gradle I get:
A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
... a thousand lines later...
Caused by: java.lang.OutOfMemoryError: Java heap spaceAnd then the next time it works. So that's exactly the level of quality I've come to expect from Gradle in particular and everything about Android in general.
-
About 1 time in 3 when doing a build with Gradle I get:
A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
... a thousand lines later...
Caused by: java.lang.OutOfMemoryError: Java heap spaceAnd then the next time it works. So that's exactly the level of quality I've come to expect from Gradle in particular and everything about Android in general.
A Gradle play in two acts.
Act 1:
WARNING: The property android.dependency.excludeLibraryComponentsFromConstraints improves project import performance for very large projects. It should be enabled to improve performance.
Act 2:
WARNING: The option setting 'android.dependency.excludeLibraryComponentsFromConstraints=true' is deprecated.
-
About 1 time in 3 when doing a build with Gradle I get:
A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
... a thousand lines later...
Caused by: java.lang.OutOfMemoryError: Java heap spaceAnd then the next time it works. So that's exactly the level of quality I've come to expect from Gradle in particular and everything about Android in general.
@jwz on the very very unlikely chance that you haven't heard this already: the default heap size for gradle is unworkably low, find the Xmx thingy and turn it up a lot to get faster less crash prone builds. (Sorry I can't tell you where the setting is right now because I forgot. I just remember that the default is way too low.)
-
A Gradle play in two acts.
Act 1:
WARNING: The property android.dependency.excludeLibraryComponentsFromConstraints improves project import performance for very large projects. It should be enabled to improve performance.
Act 2:
WARNING: The option setting 'android.dependency.excludeLibraryComponentsFromConstraints=true' is deprecated.
@jwz it is extremely on brand that improving performance is deprecated.
-
R relay@relay.infosec.exchange shared this topic