Gradle Build Failed HELPPP!!!
I tried everything, move gradle, go to advance system configuration, desintalls and re-intalls and nothing.
Error: UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) FAILURE: Build failed with an exception.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) * What went wrong:
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
A problem occurred configuring project ':launcher'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Could not resolve all artifacts for configuration ':launcher:classpath'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr
Could not download protobuf-java.jar (com.google.protobuf:protobuf-java:3.4.0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
> Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
> Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
> jcenter.bintray.com
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Could not download bcpkix-jdk15on.jar (org.bouncycastle:bcpkix-jdk15on:1.56)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Could not download bcpkix-jdk15on.jar (org.bouncycastle:bcpkix-jdk15on:1.56)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) > Could not get resource 'https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.jar'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
> Could not GET 'https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.jar'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) > Could not get resource 'https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
> Could not GET 'https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar'.
> Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.21/kotlin-stdlib-1.3.21.jar'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
> jcenter.bintray.com
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
> Could not get resource 'https://jcenter.bintray.com/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.jar'.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
CommandInvokationFailure: Gradle build failed. C:/Program Files/Unity/Hub/Editor/2019.3.0f5/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Gradle\gradle-5.4.1\lib\gradle-launcher-5.4.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
stderr[
FAILURE: Build failed with an exception.
-
Could not resolve all artifacts for configuration ':launcher:classpath'. Could not download protobuf-java.jar (com.google.protobuf:protobuf-java:3.4.0)
Could not download bcpkix-jdk15on.jar (org.bouncycastle:bcpkix-jdk15on:1.56)
Could not download bcprov-jdk15on.jar (org.bouncycastle:bcprov-jdk15on:1.56)
Could not download fastutil.jar (it.unimi.dsi:fastutil:7.2.0)
Could not download jimfs.jar (com.google.jimfs:jimfs:1.1)
Could not download guava.jar (com.google.guava:guava:26.0-jre)
Could not download gson.jar (com.google.code.gson:gson:2.8.0)
Could not download httpclient.jar (org.apache.httpcomponents:httpclient:4.5.6)
Could not download httpcore.jar (org.apache.httpcomponents:httpcore:4.4.10)
Could not download kotlin-reflect.jar (org.jetbrains.kotlin:kotlin-reflect:1.3.21)
Could not download antlr4.jar (org.antlr:antlr4:4.5.3)
Could not download juniversalchardet.jar (com.googlecode.juniversalchardet:juniversalchardet:1.0.3)
Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.21)
Could not download proguard-base.jar (net.sf.proguard:proguard-base:6.0.3)
Could not download auto-value.jar (com.google.auto.value:auto-value:1.5.2)
Could not download jdom2.jar (org.jdom:jdom2:2.0.6)
Could not download commons-compress.jar (org.apache.commons:commons-compress:1.12)
Could not download commons-codec.jar (commons-codec:commons-codec:1.10)
Could not download jaxb-runtime.jar (org.glassfish.jaxb:jaxb-runtime:2.2.11)
Could not download FastInfoset.jar (com.sun.xml.fastinfoset:FastInfoset:1.2.13)
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 0s ] stdout[
] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0) UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at :0) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown. UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at :0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :0) UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 95 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00275] in :0 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Your answer
![](https://koobas.hobune.stream/wayback/20220612222243im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity Crash Problem 0 Answers
Animation blend does not transition between animations correctly 0 Answers
The unity collab button doesnt appear on the editor 2 Answers
Unity 2020.1.0a14 Failed to present D3D11 swapchain ,UNITY 2020.1.0a14 BUG Failed to present D3D11 23 Answers
Need Invert vertexcolors pasted unity-chan 2.0 shader 0 Answers