Android build failed because of java heap space #1959
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceHey, 'com.android.tools.build:gradle:7.4.2' Can't upgrade to gradle 8 because of dependencies without the namespace. Expected resultsBuild should pass. Actual resultsERROR:R8: java.lang.OutOfMemoryError: Java heap space FAILURE: Build failed with an exception.
Build id (optional)64d48bc448bc255f86203230 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @ItayBarFaye, please note that you should contact our team through the chat widget in the UI for a quicker response, as your team is on a paid plan. Also, the solution to this issue can be found in our documentation as well. For this issue, If you can’t upgrade the Gradle and AGP versions, then you can use Mac Pro machines instead. Let us know in case of any further questions in the Intercom. Note: Xcode version 14.2 or lower is required to use Mac Pro machines. |
Beta Was this translation helpful? Give feedback.
Hi @ItayBarFaye, please note that you should contact our team through the chat widget in the UI for a quicker response, as your team is on a paid plan.
Also, the solution to this issue can be found in our documentation as well.
For this issue, If you can’t upgrade the Gradle and AGP versions, then you can use Mac Pro machines instead.
Let us know in case of any further questions in the Intercom.
Note: Xcode version 14.2 or lower is required to use Mac Pro machines.