How to analyse exactly why your build failed?

  • I have lots of “Error” messages in my log file, which ones do I look at? At this stage I am assuming only the ones that are highligted as red, are relevant. Is this correct?
  • Is there decent and updated documentation on cloudbuild for Android?

Here are a few of my errors, not sure which ones are most relevant as I am struggling to find a thread and/or documentation on how to fix errors…

(in decending order):

  • 8316: [Unity] [:arcore_client:] /BUILD_PATH/.gradle/caches/transforms-2/files-2.1/03b80bbc3c3e67fe9f7cb82d6ac24757/AndroidManifest.xml:30:9-54 Error:
  • 8318: [Unity] [:arcore_client:] /BUILD_PATH/.gradle/caches/transforms-2/files-2.1/03b80bbc3c3e67fe9f7cb82d6ac24757/AndroidManifest.xml Error:
  • 8368: [Unity] at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00033] in <0702eaa7f9c54a9eb3150aca262c08fe>:0
  • 8369: [Unity] at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x0002d] in <0702eaa7f9c54a9eb3150aca262c08fe>:0
  • 8370: [Unity] at UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x0000a] in <0702eaa7f9c54a9eb3150aca262c08fe>:0
  • 8371: [Unity] at UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) [0x0001f] in <0702eaa7f9c54a9eb3150aca262c08fe>:0

using version 2919.4.34f1
using collab

Help appreciated,

Thanks.

All errors in Cloud Build logs should be highlighted in red, but please be aware that some could be false positives, for example, an asset or directory name that contains the word “error”.

If the project is also failing to build on your machine, I would recommend debugging it in the Unity editor. If it is only failing in Cloud Build, you can open a support ticket and one of our support agents will investigate the cause of the build failure.

1 Like

Thanks.