5 LONG build errors on Android game, any insight is appreciated

I’ve been working on an android game, and it is now finished. As I was uploading it to the play store for the 3rd internal release build, I noticed I could add a scoreboard and achievements through google play, so I added them in, and now I am having a slew of build errors. I’ve been stuck on this for weeks now, without making any progress, and am in need of serious help, I will post the build errors here, but I’m not sure how much help it will be.

Even just an experienced person pointing me in the right direction would be extremely appreciated!

When I build the game in development mode, the game builds, but I run into keyStore errors with Google that also seem nonsensical, so I imagine somewhere here is the root cause.

Here is the error message that pops up when I try to build: Build Failure - com.android.tools.r8.CompilationFailedException: Compilation failed to complete See the console for details.

Then in the console, I have 5 error messages, each of which could be a short novel. As Im sure there is a character count here, I doubt it will all fit, be here goes:

Error 1: (Note: I have R8 enabled)

Configure project :launcher
WARNING: The option setting ‘android.enableR8=true’ is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8

Task :launcher:preBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:preBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:preBuild UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :launcher:extractProguardFiles UP-TO-DATE
Task :launcher:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseRenderscript NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseRenderscript NO-SOURCE
Task :launcher:generateReleaseResValues UP-TO-DATE
Task :launcher:generateReleaseResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:packageReleaseResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:packageReleaseResources UP-TO-DATE
Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:processReleaseManifest UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:processReleaseManifest UP-TO-DATE
Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseManifest UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:compileReleaseShaders NO-SOURCE
Task :launcher:mergeReleaseResources UP-TO-DATE
Task :launcher:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseShaders NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseShaders NO-SOURCE
Task :unityLibrary:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseAssets UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:packageReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseAidl NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseAidl NO-SOURCE
Task :launcher:processReleaseManifest UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseRFile UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseRFile UP-TO-DATE
Task :launcher:bundleReleaseResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:javaPreCompileRelease UP-TO-DATE
Task :launcher:compileReleaseShaders NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:javaPreCompileRelease UP-TO-DATE
Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseJavaWithJavac UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:bundleLibCompileToJarRelease UP-TO-DATE
Task :launcher:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
Task :launcher:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:mergeReleaseGeneratedProguardFiles UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:exportReleaseConsumerProguardFiles UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:processReleaseJavaRes NO-SOURCE
Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:bundleLibResRelease NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE
Task :launcher:collectReleaseDependencies UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:exportReleaseConsumerProguardFiles UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :launcher:configureReleaseDependencies UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:mergeReleaseJniLibFolders UP-TO-DATE
Task :launcher:parseReleaseIntegrityConfig UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibResRelease NO-SOURCE
Task :launcher:validateSigningRelease UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:stripReleaseDebugSymbols NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:stripReleaseDebugSymbols NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :unityLibrary:packageReleaseAssets
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:generateReleaseRFile UP-TO-DATE
Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
Task :launcher:mergeReleaseAssets
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:processReleaseResources UP-TO-DATE
Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
Task :unityLibrary:mergeReleaseGeneratedProguardFiles UP-TO-DATE
Task :unityLibrary:exportReleaseConsumerProguardFiles UP-TO-DATE
Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:bundleLibResRelease NO-SOURCE
Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :launcher:compileReleaseJavaWithJavac UP-TO-DATE
Task :launcher:mergeReleaseGeneratedProguardFiles UP-TO-DATE
Task :launcher:mergeReleaseJavaResource UP-TO-DATE
Task :unityLibrary:mergeReleaseJniLibFolders
Task :unityLibrary:mergeReleaseNativeLibs
Task :unityLibrary:stripReleaseDebugSymbols

Task :launcher:minifyReleaseWithR8 FAILED

Task :unityLibrary:copyReleaseJniLibsProjectOnly
80 actionable tasks: 7 executed, 73 up-to-date

0x00007ff7ae2169cd (Unity) StackWalker::GetCurrentCallstack
0x00007ff7ae21d589 (Unity) StackWalker::ShowCallstack
0x00007ff7af1a0943 (Unity) GetStacktrace
0x00007ff7af84091d (Unity) DebugStringToFile
0x00007ff7ad2dc262 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000027ad011d2f3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000027ad011d20b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
0x0000027ad011cf50 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000027ad1531b65 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000027ba9aa784b (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException ()
0x0000027adc0111d3 (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
0x0000027b69935f63 (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput)
0x0000027ade6ce113 (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x0000027ade6cd827 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x0000027ade6cdb75 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr)
0x00007ffaf6e5feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffaf6d9e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffaf6d9e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff7ae13b394 (Unity) scripting_method_invoke
0x00007ff7ae11ac34 (Unity) ScriptingInvocation::Invoke
0x00007ff7afbb1f31 (Unity) CallMono
0x00007ff7afbba207 (Unity) PostprocessPlayer
0x00007ff7afbb4def (Unity) DoBuildPlayer_PostBuild
0x00007ff7afbb2dbe (Unity) DoBuildPlayer
0x00007ff7afba6ebd (Unity) BuildPlayer
0x00007ff7ada11e96 (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff7ad940290 (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x0000027adbfc2a47 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[ ],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[ ],bool)
0x0000027adbfc1343 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x0000027adbfbc353 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000027bcaba1b93 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x0000027adc2ba0b3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000027bcab1da13 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000027ad00e814a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000027ad00e7f63 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect)
0x0000027ad00da70b (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000027ad00c4737 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000027ad00c39cb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x0000027ad007edeb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000027ad007ec53 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000027ad007e77b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027ad007e633 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027ace48487b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000027ace477cf8 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x0000027ad007d7fb (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace475f4e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000027ace475a4b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace47c48b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000027ace47a9d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000027ace47a90b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x0000027ace475cd3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace4754d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000027ace47534b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000027ad0066453 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000027ad0065e43 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000027ad0065bff (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000027ad0065b1b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000027ad006597d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000027ad0065a36 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffaf6e5feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffaf6d9e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffaf6d9e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff7ae13b394 (Unity) scripting_method_invoke
0x00007ff7ae11ac34 (Unity) ScriptingInvocation::Invoke
0x00007ff7ae115845 (Unity) ScriptingInvocation::Invoke
0x00007ff7ae25fa2a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff7aec806b8 (Unity) GUIView::ProcessRetainedMode
0x00007ff7af1d10fb (Unity) GUIView::OnInputEvent
0x00007ff7aec804ca (Unity) GUIView::ProcessInputEvent
0x00007ff7af1d1f2f (Unity) GUIView::ProcessEventMessages
0x00007ff7af1cbc99 (Unity) GUIView::GUIViewWndProc
0x00007ffb9ae3e6d8 (USER32) CallWindowProcW
0x00007ffb9ae3e119 (USER32) DispatchMessageW
0x00007ff7af1a6963 (Unity) MainMessageLoop
0x00007ff7af1ab3ab (Unity) WinMain
0x0

Error 2:

D:\Game Projects\Hat Game\Hat Game\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\GooglePlayGamesManifest.androidlib\build\intermediates\runtime_library_classes_jar\release\classes.jar: R8: Type com.google.example.games.mainlibproj.BuildConfig is defined multiple times: D:\Game Projects\Hat Game\Hat Game\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\GooglePlayGamesManifest.androidlib\build\intermediates\runtime_library_classes_jar\release\classes.jar:com/google/example/games/mainlibproj/BuildConfig.class, D:\Game Projects\Hat Game\Hat Game\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\GameServicesManifest.plugin\build\intermediates\runtime_library_classes_jar\release\classes.jar:com/google/example/games/mainlibproj/BuildConfig.class

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:launcher:minifyReleaseWithR8’.

com.android.tools.r8.CompilationFailedException: Compilation failed to complete

  • 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 3s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

0x00007ff7ae2169cd (Unity) StackWalker::GetCurrentCallstack
0x00007ff7ae21d589 (Unity) StackWalker::ShowCallstack
0x00007ff7af1a0943 (Unity) GetStacktrace
0x00007ff7af84091d (Unity) DebugStringToFile
0x00007ff7ad2dc262 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000027ad011d2f3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000027ad011d20b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
0x0000027ad011cf50 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000027ad1531b65 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000027ba9aa784b (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException ()
0x0000027adc0111d3 (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
0x0000027b69935f63 (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput)
0x0000027ade6ce113 (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x0000027ade6cd827 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x0000027ade6cdb75 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr)
0x00007ffaf6e5feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffaf6d9e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffaf6d9e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff7ae13b394 (Unity) scripting_method_invoke
0x00007ff7ae11ac34 (Unity) ScriptingInvocation::Invoke
0x00007ff7afbb1f31 (Unity) CallMono
0x00007ff7afbba207 (Unity) PostprocessPlayer
0x00007ff7afbb4def (Unity) DoBuildPlayer_PostBuild
0x00007ff7afbb2dbe (Unity) DoBuildPlayer
0x00007ff7afba6ebd (Unity) BuildPlayer
0x00007ff7ada11e96 (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff7ad940290 (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x0000027adbfc2a47 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[ ],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[ ],bool)
0x0000027adbfc1343 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x0000027adbfbc353 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000027bcaba1b93 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x0000027adc2ba0b3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000027bcab1da13 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000027ad00e814a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000027ad00e7f63 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect)
0x0000027ad00da70b (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000027ad00c4737 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000027ad00c39cb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x0000027ad007edeb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000027ad007ec53 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000027ad007e77b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027ad007e633 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027ace48487b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000027ace477cf8 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x0000027ad007d7fb (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace475f4e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000027ace475a4b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace47c48b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000027ace47a9d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000027ace47a90b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x0000027ace475cd3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace4754d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000027ace47534b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000027ad0066453 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000027ad0065e43 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000027ad0065bff (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000027ad0065b1b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000027ad006597d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000027ad0065a36 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffaf6e5feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffaf6d9e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffaf6d9e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff7ae13b394 (Unity) scripting_method_invoke
0x00007ff7ae11ac34 (Unity) ScriptingInvocation::Invoke
0x00007ff7ae115845 (Unity) ScriptingInvocation::Invoke
0x00007ff7ae25fa2a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff7aec806b8 (Unity) GUIView::ProcessRetainedMode
0x00007ff7af1d10fb (Unity) GUIView::OnInputEvent
0x00007ff7aec804ca (Unity) GUIView::ProcessInputEvent
0x00007ff7af1d1f2f (Unity) GUIView::ProcessEventMessages
0x00007ff7af1cbc99 (Unity) GUIView::GUIViewWndProc
0x00007ffb9ae3e6d8 (USER32) CallWindowProcW
0x00007ffb9ae3e119 (USER32) DispatchMessageW
0x00007ff7af1a6963 (Unity) MainMessageLoop
0x00007ff7af1ab3ab (Unity) WinMain
0x00007ff7b055e78e (Unity) __scrt_common_main_seh
0x00007ffb9b977034 (KERNEL32) BaseThreadInitThunk
0x00007ffb9bbdcec1 (ntdll) RtlUserThreadStart

Error 3:

CommandInvokationFailure: Gradle build failed.
C:\Program Files\Unity\Hub\Editor\2021.3.16f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath “C:\Program Files\Unity\Hub\Editor\2021.3.16f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “bundleRelease”

Environment Variables:
USERDOMAIN = BRAEDENS-PC
ProgramFiles = C:\Program Files
TMP = C:\Users\braed\AppData\Local\Temp
PROCESSOR_ARCHITECTURE = AMD64
PROCESSOR_REVISION = 7100
OneDriveConsumer = C:\Users\braed\OneDrive
OS = Windows_NT
CHROME_CRASHPAD_PIPE_NAME = \.\pipe\crashpad_4880_OXYHSXHAJJGCRYGV
PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
ProgramW6432 = C:\Program Files
USERPROFILE = C:\Users\braed
JAVA_HOME = C:\Program Files\Unity\Hub\Editor\2021.3.16f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
CommonProgramFiles = C:\Program Files\Common Files
DriverData = C:\Windows\System32\Drivers\DriverData
ComSpec = C:\Windows\system32\cmd.exe
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules
ANDROID_NDK_ROOT = C:\Program Files\Unity\Hub\Editor\2021.3.16f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
USERNAME = braed
NUMBER_OF_PROCESSORS = 16
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
BURST_ANDROID_MIN_API_LEVEL = 22
ADSK_3DSMAX_x64_2023 = C:\Program Files\Autodesk\3ds Max 2023
ADSK_3DSMAX_x64_2020 = C:\Program Files\Autodesk\3ds Max 2020
TEMP = C:\Users\braed\AppData\Local\Temp
Path = C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin;C:\Program Files\Eclipse Foundation\jdk-8.0.302.8-hotspot\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\nodejs;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Azure Data Studio\bin;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files\Java\jdk-15.0.1\bin;C:\Users\braed\AppData\Roaming\npm;C:\Program Files\Azure Data Studio\bin;C:\Users\braed\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\braed.dotnet\tools
COMPUTERNAME = BRAEDENS-PC
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
ALLUSERSPROFILE = C:\ProgramData
SystemDrive = C:
windir = C:\Windows
HOMEPATH = \Users\braed
PUBLIC = C:\Users\Public
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
APPDATA = C:\Users\braed\AppData\Roaming
OneDrive = C:\Users\braed\OneDrive
PROCESSOR_LEVEL = 23
CommonProgramW6432 = C:\Program Files\Common Files
ProgramFiles(x86) = C:\Program Files (x86)
SystemRoot = C:\Windows
SESSIONNAME = Console
LOGONSERVER = \BRAEDENS-PC
LOCALAPPDATA = C:\Users\braed\AppData\Local
HOMEDRIVE = C:
USERDOMAIN_ROAMINGPROFILE = BRAEDENS-PC
ProgramData = C:\ProgramData
ORIGINAL_XDG_CURRENT_DESKTOP = undefined

stderr[
D:\Game Projects\Hat Game\Hat Game\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\GooglePlayGamesManifest.androidlib\build\intermediates\runtime_library_classes_jar\release\classes.jar: R8: Type com.google.example.games.mainlibproj.BuildConfig is defined multiple times: D:\Game Projects\Hat Game\Hat Game\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\GooglePlayGamesManifest.androidlib\build\intermediates\runtime_library_classes_jar\release\classes.jar:com/google/example/games/mainlibproj/BuildConfig.class, D:\Game Projects\Hat Game\Hat Game\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\GameServicesManifest.plugin\build\intermediates\runtime_library_classes_jar\release\classes.jar:com/google/example/games/mainlibproj/BuildConfig.class

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:launcher:minifyReleaseWithR8’.

com.android.tools.r8.CompilationFailedException: Compilation failed to complete

  • 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 3s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
]
stdout[

Configure project :launcher
WARNING: The option setting ‘android.enableR8=true’ is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8

Task :launcher:preBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:preBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:preBuild UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :launcher:extractProguardFiles UP-TO-DATE
Task :launcher:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseRenderscript NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseRenderscript NO-SOURCE
Task :launcher:generateReleaseResValues UP-TO-DATE
Task :launcher:generateReleaseResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:packageReleaseResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:packageReleaseResources UP-TO-DATE
Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:processReleaseManifest UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:processReleaseManifest UP-TO-DATE
Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseManifest UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:compileReleaseShaders NO-SOURCE
Task :launcher:mergeReleaseResources UP-TO-DATE
Task :launcher:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseShaders NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseShaders NO-SOURCE
Task :unityLibrary:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseAssets UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:packageReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseAidl NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseAidl NO-SOURCE
Task :launcher:processReleaseManifest UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseRFile UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseRFile UP-TO-DATE
Task :launcher:bundleReleaseResources UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:javaPreCompileRelease UP-TO-DATE
Task :launcher:compileReleaseShaders NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:javaPreCompileRelease UP-TO-DATE
Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:compileReleaseJavaWithJavac UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:bundleLibCompileToJarRelease UP-TO-DATE
Task :launcher:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
Task :launcher:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:mergeReleaseGeneratedProguardFiles UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:exportReleaseConsumerProguardFiles UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:processReleaseJavaRes NO-SOURCE
Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:bundleLibResRelease NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE
Task :launcher:collectReleaseDependencies UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:exportReleaseConsumerProguardFiles UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :launcher:configureReleaseDependencies UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:mergeReleaseJniLibFolders UP-TO-DATE
Task :launcher:parseReleaseIntegrityConfig UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibResRelease NO-SOURCE
Task :launcher:validateSigningRelease UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :unityLibrary:GameServicesManifest.plugin:stripReleaseDebugSymbols NO-SOURCE
Task :unityLibrary:GameServicesManifest.plugin:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:stripReleaseDebugSymbols NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :unityLibrary:packageReleaseAssets
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
Task :unityLibrary:generateReleaseRFile UP-TO-DATE
Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
Task :launcher:mergeReleaseAssets
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:processReleaseResources UP-TO-DATE
Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
Task :unityLibrary:mergeReleaseGeneratedProguardFiles UP-TO-DATE
Task :unityLibrary:exportReleaseConsumerProguardFiles UP-TO-DATE
Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:bundleLibResRelease NO-SOURCE
Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :launcher:compileReleaseJavaWithJavac UP-TO-DATE
Task :launcher:mergeReleaseGeneratedProguardFiles UP-TO-DATE
Task :launcher:mergeReleaseJavaResource UP-TO-DATE
Task :unityLibrary:mergeReleaseJniLibFolders
Task :unityLibrary:mergeReleaseNativeLibs
Task :unityLibrary:stripReleaseDebugSymbols

Task :launcher:minifyReleaseWithR8 FAILED

Task :unityLibrary:copyReleaseJniLibsProjectOnly
80 actionable tasks: 7 executed, 73 up-to-date
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action1[T] progress, System.String error) (at <62de111f18d242d586f9a078a33b1ba2>:0) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action1[T] progress) (at <62de111f18d242d586f9a078a33b1ba2>:0)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <62de111f18d242d586f9a078a33b1ba2>: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 <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput buildProgramOutput) (at <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <62de111f18d242d586f9a078a33b1ba2>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget tar

Error 4:
Build completed with a result of ‘Failed’ in 122 seconds (122188 ms)
0x00007ff7ae2169cd (Unity) StackWalker::GetCurrentCallstack
0x00007ff7ae21d589 (Unity) StackWalker::ShowCallstack
0x00007ff7af1a0943 (Unity) GetStacktrace
0x00007ff7af84091d (Unity) DebugStringToFile
0x00007ff7ad2dc262 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000027ad011d2f3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000027ad011d20b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
0x0000027ad011cf50 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000027ad1531b65 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000027adbfc162b (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x0000027adbfbc353 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000027bcaba1b93 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x0000027adc2ba0b3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000027bcab1da13 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000027ad00e814a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000027ad00e7f63 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect)
0x0000027ad00da70b (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000027ad00c4737 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000027ad00c39cb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x0000027ad007edeb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000027ad007ec53 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000027ad007e77b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027ad007e633 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027ace48487b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000027ace477cf8 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x0000027ad007d7fb (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace475f4e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000027ace475a4b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace47c48b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000027ace47a9d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000027ace47a90b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x0000027ace475cd3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace4754d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000027ace47534b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000027ad0066453 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000027ad0065e43 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000027ad0065bff (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000027ad0065b1b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000027ad006597d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000027ad0065a36 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffaf6e5feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffaf6d9e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffaf6d9e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff7ae13b394 (Unity) scripting_method_invoke
0x00007ff7ae11ac34 (Unity) ScriptingInvocation::Invoke
0x00007ff7ae115845 (Unity) ScriptingInvocation::Invoke
0x00007ff7ae25fa2a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff7aec806b8 (Unity) GUIView::ProcessRetainedMode
0x00007ff7af1d10fb (Unity) GUIView::OnInputEvent
0x00007ff7aec804ca (Unity) GUIView::ProcessInputEvent
0x00007ff7af1d1f2f (Unity) GUIView::ProcessEventMessages
0x00007ff7af1cbc99 (Unity) GUIView::GUIViewWndProc
0x00007ffb9ae3e6d8 (USER32) CallWindowProcW
0x00007ffb9ae3e119 (USER32) DispatchMessageW
0x00007ff7af1a6963 (Unity) MainMessageLoop
0x00007ff7af1ab3ab (Unity) WinMain
0x00007ff7b055e78e (Unity) __scrt_common_main_seh
0x00007ffb9b977034 (KERNEL32) BaseThreadInitThunk
0x00007ffb9bbdcec1 (ntdll) RtlUserThreadStart

Error 5:
UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <11d97693183d4a6bb35c29ae7882c66b>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <11d97693183d4a6bb35c29ae7882c66b>:0
0x00007ff7ae2169cd (Unity) StackWalker::GetCurrentCallstack
0x00007ff7ae21d589 (Unity) StackWalker::ShowCallstack
0x00007ff7af1a0943 (Unity) GetStacktrace
0x00007ff7af84091d (Unity) DebugStringToFile
0x00007ff7ad2dc262 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000027ad011d2f3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000027ad011d20b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
0x0000027ad011cf50 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000027ad1531b65 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000027adbfbc3cb (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000027bcaba1b93 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x0000027adc2ba0b3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000027bcab1da13 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000027ad00e814a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000027ad00e7f63 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect)
0x0000027ad00da70b (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000027ad00c4737 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000027ad00c39cb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x0000027ad007edeb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000027ad007ec53 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000027ad007e77b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027ad007e633 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000027ace48487b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000027ace477cf8 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x0000027ad007d7fb (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace475f4e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000027ace475a4b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace47c48b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000027ace47a9d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000027ace47a90b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x0000027ace475cd3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000027ace4754d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000027ace47534b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000027ad0066453 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000027ad0065e43 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000027ad0065bff (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000027ad0065b1b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000027ad006597d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000027ad0065a36 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffaf6e5feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ffaf6d9e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ffaf6d9e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff7ae13b394 (Unity) scripting_method_invoke
0x00007ff7ae11ac34 (Unity) ScriptingInvocation::Invoke
0x00007ff7ae115845 (Unity) ScriptingInvocation::Invoke
0x00007ff7ae25fa2a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff7aec806b8 (Unity) GUIView::ProcessRetainedMode
0x00007ff7af1d10fb (Unity) GUIView::OnInputEvent
0x00007ff7aec804ca (Unity) GUIView::ProcessInputEvent
0x00007ff7af1d1f2f (Unity) GUIView::ProcessEventMessages
0x00007ff7af1cbc99 (Unity) GUIView::GUIViewWndProc
0x00007ffb9ae3e6d8 (USER32) CallWindowProcW
0x00007ffb9ae3e119 (USER32) DispatchMessageW
0x00007ff7af1a6963 (Unity) MainMessageLoop
0x00007ff7af1ab3ab (Unity) WinMain
0x00007ff7b055e78e (Unity) __scrt_common_main_seh
0x00007ffb9b977034 (KERNEL32) BaseThreadInitThunk
0x00007ffb9bbdcec1 (ntdll) RtlUserThreadStart

I cant believe it all fits here, who knows if it will be helpful, or even looked at, and Im extremely sorry in advance if this is all useless and I made you scroll through it all for nothing.

Thanks for your help,

Braeden

Just noticed all the weird faces popping up in there, my b. They are mostly colons followed by p’s.

Hello,

Would you kindly please report this issue via the Bug Reporter tool?
https://unity.com/releases/editor/qa/bug-reporting

Please make sure to write the exact steps needed to be taken so that the reproduction would be visually seen. Also make sure to attach a reproduction project and any visual material so that when testing our CQA team can verify that they got the same results. If you can, please use this template:

How to reproduce:

  1. Open the attached project
  2. Do this
  3. Do that
  4. Select this
  5. Observe that

Expected result: Something is visible, something is printed or something happens
Actual result: The opposite of what I expect happens

Reproducible with: Editor version I am using (e.g: 2021.3.xf1)

Reproduced on: The OS I am on (e.g: Windows 11, macOS Ventura 13.1 (Intel/Silicon))