- Home /
Can't build. Tried so many things. (Java, AndroidSDK)
First of all, I would like to say that I found several subjects regarding the errors I am having but none of them could fix it. I even trying Unity Cloud Build and the error persists. So, below I will try to give the amount of information that I have and what I've tested so far.
This issue first ocurred three days ago and I still researching so far a way to build but it wont compile.
My 3rd parties plugins are:
- Google Play Services / Play Games - Packages folder: Analytics Library, TextMesh Pro, Package Manager UI, In app Purchasing, com.unity.ads
That being said, here we go to the issue:
First, when I try building with Gradle
Java Heap Size
Then I read several topics regarding using Internal build to solve this problem, so a new error appears:
Win32 IOException returned ERROR_BROKEN_PIPE
I tried reinstalling Java and also downgrading java to 8 (JDK)
I also tried reinstalling some packages of Android APIs (since i am targeting the api 28)
I also tried moving the files from C to D, and moving it back. Running it as administrator, building it in development mode, splitting binaries into two pieces, changing the Java Heap size to 2g as well. Nothing worked.
When I thought everything was lost I found a unity service named Cloud Build. I had some aha moment but nevertheless it failed to build after 30min.
Here are the log for the Cloud Build
https://pastebin.com/wAK6f3zQ
My game runs normally in the Editor... No errors.
Can anyone help me out? =(
Thanks.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
CommandInvokationFailure: Failed to re-package resources 1 Answer
How to fix build errors? 0 Answers
Building Android APK in release mode for Google Store 0 Answers