java.lang.OutOfMemoryError: Java heap space

Our builds for Android have started to fail.

We have had successful builds in the past. I have tried to use the JAVA_OPTS and GRADLE_OPTS En Vars to increase the heap space, but then they fail on the Missing components step.

Ive seen others with this issue and tried the resolutions suggest but without much success.

Anyone managed to solve this

Yes we are having the same issue since yesterday, this is very annoying

1 Like

Anyone managed to solve this yet. @Bitrise help would be useful at this point

Tried the same with the ENVARS settings in both the workflow and Gradle files and no luck