Gradle built failed :(

Questions techniques liées à l’utilisation d'Unity (et n'entrant pas dans le cadre d'une des sections suivantes)
Avatar de l’utilisateur
SuperAl
Messages : 20
Inscription : 28 Sep 2018 16:40

Gradle built failed :(

Message par SuperAl » 24 Août 2023 11:59

Bonjour bonjour,
Je vous sollicite un petit temps car j'ai un soucis que je n'arrive pas à régler depuis un certain nombre de jours et j'avoue que je me sent vaincu par le logiciel.

Symptômes:
Comme dit dans le titre j'ai le défaut suivant: Gradle build failed lors de la compilation avec plusieurs défaut

Essais:
-Télécharger les outils externes: JDK 1.8 u77 ainsi que le JDK 20
-Désinstaller le dernier SDK sur android studio pour mettre le 30.0.3
-Changer la variable d'environnement JAVA_HOME
-Télécharger le gradle version 6.9 et le dernier le 8 quelque chose
-Installer une nouvelle version d'unity
-Changer de PC
-Dans l'onglet Build mettre les customs Base Gradle Template et Gradles properties Templates
-Asset -> mobile dependency resolver -> Android resolver -> Force resolve

Merci d'avance pour ceux qui prendront le temps de m'aider à solutionner cette grosse galère.
Bonne journée

Avatar de l’utilisateur
boubouk50
ModoGenereux
ModoGenereux
Messages : 6225
Inscription : 28 Avr 2014 11:57
Localisation : Saint-Didier-en-Bresse (71)

Re: Gradle built failed :(

Message par boubouk50 » 24 Août 2023 12:13

Salut,

Peux-tu nous donner tous les messages d'erreur que te renvoie la console stp ?
Il y a trop de possibilités d'erreur pour t'aider sans ça. (la configuration, les plugins, les versions, etc.)
Tu peux utiliser les balises <Code> pour les encapsuler si c'est long.

Merci
"Ce n'est pas en améliorant la bougie, que l'on a inventé l'ampoule, c'est en marchant longtemps."
Nétiquette du forum
Savoir faire une recherche
Apprendre la programmation

Avatar de l’utilisateur
SuperAl
Messages : 20
Inscription : 28 Sep 2018 16:40

Re: Gradle built failed :(

Message par SuperAl » 24 Août 2023 13:09

Voici la liste d'erreurs que j'ai:

-Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

Code : Tout sélectionner

Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

0x00007ff60f0b229d (Unity) StackWalker::GetCurrentCallstack
0x00007ff60f0b7249 (Unity) StackWalker::ShowCallstack
0x00007ff6100833a1 (Unity) GetStacktrace
0x00007ff610744c02 (Unity) DebugStringToFile
0x00007ff60dfc8736 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000011f4be69673 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000011f4be6958b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000011f4be692d0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000011f4be69195 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000011f4be68eab (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException ()
0x0000011ef6e93623 (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
0x0000011f4be47fb3 (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput)
0x0000011f4bdf4433 (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x0000011f4bdf3b30 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x0000011f4bdf3e95 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr)
0x00007fffe4f3e0d4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007fffe4e7eb74 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007fffe4e7ed0c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff60efc9724 (Unity) scripting_method_invoke
0x00007ff60efa7944 (Unity) ScriptingInvocation::Invoke
0x00007ff610aba011 (Unity) CallMono
0x00007ff610ac2ec7 (Unity) PostprocessPlayer
0x00007ff610abd2b3 (Unity) DoBuildPlayer_PostBuild
0x00007ff610abb3ae (Unity) DoBuildPlayer
0x00007ff610aaece5 (Unity) BuildPlayer
0x00007ff60e84587f (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff60e56eb4c (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x0000011ef6d64a97 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
0x0000011ef6d64233 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x0000011ef6d607eb (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000011ef6d3c563 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x0000011ef6d3221b (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000011ef6d1841b (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000011da85215b2 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000011da85213d3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)
0x0000011da84de553 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000011da840b8bf (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000011da84cd90b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x0000011f46d7807b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000011f46d77ee3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000011f46d77a3b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000011f46d77923 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000011f1b585783 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:ProcessEvent (UnityEngine.UIElements.EventBase)
0x0000011f1b5852e3 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000011f1b58501f (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase)
0x0000011f1b584d63 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x0000011f46d749c3 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b634d7e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000011f1b63466b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b570143 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000011f1b54ffc3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000011f1b54fefb (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
0x0000011f1b634b2b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b631de3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000011f1b631c3b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000011f1d893433 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000011f1d892d23 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000011f1d892adf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000011f1d8929fb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000011f1d89285d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000011f1d892916 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007fffe4f3e0d4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007fffe4e7eb74 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007fffe4e7ed0c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff60efc9724 (Unity) scripting_method_invoke
0x00007ff60efa7944 (Unity) ScriptingInvocation::Invoke
0x00007ff60efa2595 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff60f0fcaca (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff60faeebf8 (Unity) GUIView::ProcessRetainedMode
0x00007ff6100b635e (Unity) GUIView::OnInputEvent
0x00007ff60faeeb43 (Unity) GUIView::ProcessInputEventFromAPI
0x00007ff60faeea18 (Unity) GUIView::ProcessInputEvent
0x00007ff6100b718e (Unity) GUIView::ProcessEventMessages
0x00007ff6100b0f15 (Unity) GUIView::GUIViewWndProc
0x00007ff843eae858 (USER32) CallWindowProcW
0x00007ff843eae299 (USER32) DispatchMessageW
0x00007ff610089b63 (Unity) MainMessageLoop
0x00007ff61008f540 (Unity) WinMain
0x00007ff611478bae (Unity) __scrt_common_main_seh
0x00007ff843d77614 (KERNEL32) BaseThreadInitThunk
0x00007ff844e226b1 (ntdll) RtlUserThreadStart
-Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

Code : Tout sélectionner

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':launcher:lintVitalReportRelease'.
> Could not create task ':launcher:processReleaseMainManifest'.
   > Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.

* 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 25s

0x00007ff60f0b229d (Unity) StackWalker::GetCurrentCallstack
0x00007ff60f0b7249 (Unity) StackWalker::ShowCallstack
0x00007ff6100833a1 (Unity) GetStacktrace
0x00007ff610744c02 (Unity) DebugStringToFile
0x00007ff60dfc8736 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000011f4be69673 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000011f4be6958b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000011f4be692d0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000011f4be69195 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000011f4be68eab (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException ()
0x0000011ef6e93623 (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
0x0000011f4be47fb3 (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput)
0x0000011f4bdf4433 (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x0000011f4bdf3b30 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x0000011f4bdf3e95 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr)
0x00007fffe4f3e0d4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007fffe4e7eb74 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007fffe4e7ed0c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff60efc9724 (Unity) scripting_method_invoke
0x00007ff60efa7944 (Unity) ScriptingInvocation::Invoke
0x00007ff610aba011 (Unity) CallMono
0x00007ff610ac2ec7 (Unity) PostprocessPlayer
0x00007ff610abd2b3 (Unity) DoBuildPlayer_PostBuild
0x00007ff610abb3ae (Unity) DoBuildPlayer
0x00007ff610aaece5 (Unity) BuildPlayer
0x00007ff60e84587f (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff60e56eb4c (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x0000011ef6d64a97 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
0x0000011ef6d64233 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x0000011ef6d607eb (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000011ef6d3c563 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x0000011ef6d3221b (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000011ef6d1841b (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000011da85215b2 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000011da85213d3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)
0x0000011da84de553 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000011da840b8bf (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000011da84cd90b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x0000011f46d7807b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000011f46d77ee3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000011f46d77a3b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000011f46d77923 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000011f1b585783 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:ProcessEvent (UnityEngine.UIElements.EventBase)
0x0000011f1b5852e3 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000011f1b58501f (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase)
0x0000011f1b584d63 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x0000011f46d749c3 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b634d7e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000011f1b63466b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b570143 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000011f1b54ffc3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000011f1b54fefb (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
0x0000011f1b634b2b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b631de3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000011f1b631c3b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000011f1d893433 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000011f1d892d23 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000011f1d892adf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000011f1d8929fb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000011f1d89285d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000011f1d892916 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007fffe4f3e0d4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007fffe4e7eb74 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007fffe4e7ed0c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff60efc9724 (Unity) scripting_method_invoke
0x00007ff60efa7944 (Unity) ScriptingInvocation::Invoke
0x00007ff60efa2595 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff60f0fcaca (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff60faeebf8 (Unity) GUIView::ProcessRetainedMode
0x00007ff6100b635e (Unity) GUIView::OnInputEvent
0x00007ff60faeeb43 (Unity) GUIView::ProcessInputEventFromAPI
0x00007ff60faeea18 (Unity) GUIView::ProcessInputEvent
0x00007ff6100b718e (Unity) GUIView::ProcessEventMessages
0x00007ff6100b0f15 (Unity) GUIView::GUIViewWndProc
0x00007ff843eae858 (USER32) CallWindowProcW
0x00007ff843eae299 (USER32) DispatchMessageW
0x00007ff610089b63 (Unity) MainMessageLoop
0x00007ff61008f540 (Unity) WinMain
0x00007ff611478bae (Unity) __scrt_common_main_seh
0x00007ff843d77614 (KERNEL32) BaseThreadInitThunk
0x00007ff844e226b1 (ntdll) RtlUserThreadStart
-CommandInvokationFailure: Gradle build failed.

Code : Tout sélectionner

CommandInvokationFailure: Gradle build failed. 
C:\Program Files\Java\jdk-11\bin\java.exe -classpath "F:\Gradle\gradle-8.3-all\gradle-8.3\lib\gradle-launcher-8.3.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

Environment Variables:
OculusBase = C:\Program Files\Oculus\
GPU_MAX_ALLOC_PERCENT = 100
GPU_MAX_SINGLE_ALLOC_PERCENT = 100
ProgramFiles = C:\Program Files
LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
TMP = C:\Users\Chakakal\AppData\Local\Temp
PROCESSOR_ARCHITECTURE = AMD64
HEAP_CLIENT_TOKEN_STAGING = 3786794399
PROCESSOR_REVISION = 7100
OS = Windows_NT
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_16532_MIDEBWXCEFWGMPBR
PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
ProgramW6432 = C:\Program Files
USERPROFILE = C:\Users\Chakakal
JAVA_HOME = C:\Program Files\Java\jdk-11
CommonProgramFiles = C:\Program Files\Common Files
DriverData = C:\Windows\System32\Drivers\DriverData
ComSpec = C:\WINDOWS\system32\cmd.exe
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
ANDROID_NDK_ROOT = F:\Unity3D\2022.3.7f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
SystemRoot = C:\WINDOWS
HEAP_CLIENT_TOKEN = 1717415662
NUMBER_OF_PROCESSORS = 16
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
DEBUG_ENV_VAR = UnityHub
BURST_ANDROID_MIN_API_LEVEL = 22
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
GPU_SINGLE_ALLOC_PERCENT = 100
TEMP = C:\Users\Chakakal\AppData\Local\Temp
Path = C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\Java\jdk-11\bin;C:\Users\Chakakal\AppData\Local\Microsoft\WindowsApps;
USERNAME = Chakakal
COMPUTERNAME = DESKTOP-PO5I4MP
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
SystemDrive = C:
ALLUSERSPROFILE = C:\ProgramData
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
USERDOMAIN = DESKTOP-PO5I4MP
GPU_MAX_USE_SYNC_OBJECTS = 1
FPS_BROWSER_USER_PROFILE_STRING = Default
windir = C:\WINDOWS
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
PUBLIC = C:\Users\Public
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
APPDATA = C:\Users\Chakakal\AppData\Roaming
OneDrive = C:\Users\Chakakal\OneDrive
PROCESSOR_LEVEL = 23
CommonProgramW6432 = C:\Program Files\Common Files
ProgramFiles(x86) = C:\Program Files (x86)
SESSIONNAME = Console
LOGONSERVER = \\DESKTOP-PO5I4MP
LOCALAPPDATA = C:\Users\Chakakal\AppData\Local
GPU_MAX_HEAP_SIZE = 100
HOMEPATH = \Users\Chakakal
LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
HOMEDRIVE = C:
USERDOMAIN_ROAMINGPROFILE = DESKTOP-PO5I4MP
ProgramData = C:\ProgramData
ORIGINAL_XDG_CURRENT_DESKTOP = undefined


stderr[
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':launcher:lintVitalReportRelease'.
> Could not create task ':launcher:processReleaseMainManifest'.
   > Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.

* 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 25s
]
stdout[
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3692a30af1114a098ee2388137c8a827>:0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3692a30af1114a098ee2388137c8a827>:0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <3692a30af1114a098ee2388137c8a827>:0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <3692a30af1114a098ee2388137c8a827>:0)
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 <3692a30af1114a098ee2388137c8a827>: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 <3692a30af1114a098ee2388137c8a827>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <3692a30af1114a098ee2388137c8a827>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <3692a30af1114a098ee2388137c8a827>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
-Build completed with a result of 'Failed' in 75 seconds (75436 ms)
3 errors

Code : Tout sélectionner

Build completed with a result of 'Failed' in 75 seconds (75436 ms)
3 errors
0x00007ff60f0b229d (Unity) StackWalker::GetCurrentCallstack
0x00007ff60f0b7249 (Unity) StackWalker::ShowCallstack
0x00007ff6100833a1 (Unity) GetStacktrace
0x00007ff610744c02 (Unity) DebugStringToFile
0x00007ff60dfc8736 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000011f4be69673 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000011f4be6958b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000011f4be692d0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000011f4be69195 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000011ef6d64573 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x0000011ef6d607eb (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000011ef6d3c563 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x0000011ef6d3221b (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000011ef6d1841b (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000011da85215b2 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000011da85213d3 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)
0x0000011da84de553 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000011da840b8bf (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000011da84cd90b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x0000011f46d7807b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000011f46d77ee3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x0000011f46d77a3b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000011f46d77923 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000011f1b585783 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:ProcessEvent (UnityEngine.UIElements.EventBase)
0x0000011f1b5852e3 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000011f1b58501f (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase)
0x0000011f1b584d63 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x0000011f46d749c3 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b634d7e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000011f1b63466b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b570143 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000011f1b54ffc3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000011f1b54fefb (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose ()
0x0000011f1b634b2b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000011f1b631de3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000011f1b631c3b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000011f1d893433 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000011f1d892d23 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000011f1d892adf (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000011f1d8929fb (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000011f1d89285d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000011f1d892916 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007fffe4f3e0d4 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007fffe4e7eb74 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007fffe4e7ed0c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff60efc9724 (Unity) scripting_method_invoke
0x00007ff60efa7944 (Unity) ScriptingInvocation::Invoke
0x00007ff60efa2595 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff60f0fcaca (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff60faeebf8 (Unity) GUIView::ProcessRetainedMode
0x00007ff6100b635e (Unity) GUIView::OnInputEvent
0x00007ff60faeeb43 (Unity) GUIView::ProcessInputEventFromAPI
0x00007ff60faeea18 (Unity) GUIView::ProcessInputEvent
0x00007ff6100b718e (Unity) GUIView::ProcessEventMessages
0x00007ff6100b0f15 (Unity) GUIView::GUIViewWndProc
0x00007ff843eae858 (USER32) CallWindowProcW
0x00007ff843eae299 (USER32) DispatchMessageW
0x00007ff610089b63 (Unity) MainMessageLoop
0x00007ff61008f540 (Unity) WinMain
0x00007ff611478bae (Unity) __scrt_common_main_seh
0x00007ff843d77614 (KERNEL32) BaseThreadInitThunk
0x00007ff844e226b1 (ntdll) RtlUserThreadStart

Voila voila...

Avatar de l’utilisateur
boubouk50
ModoGenereux
ModoGenereux
Messages : 6225
Inscription : 28 Avr 2014 11:57
Localisation : Saint-Didier-en-Bresse (71)

Re: Gradle built failed :(

Message par boubouk50 » 24 Août 2023 14:24

Tu as un asset/plugin incompatible avec Gradle 9.0, d'après le premier message.
Il te faut le localiser.
Android n'accepte pas tout et c'est normal, c'est un OS spécifique.
Vérifie que les assets et plugins que tu utilises sont compatibles avec Android. Surtout les assets externes que tu aurais pu utiliser.
j'ai vu une ligne avec écrit Oculus, tu développes une application VR ?
Là aussi, tu es contraint à pas mal de choses. Il faut que tous les plugins soient à jours ensemble.
"Ce n'est pas en améliorant la bougie, que l'on a inventé l'ampoule, c'est en marchant longtemps."
Nétiquette du forum
Savoir faire une recherche
Apprendre la programmation

Avatar de l’utilisateur
SuperAl
Messages : 20
Inscription : 28 Sep 2018 16:40

Re: Gradle built failed :(

Message par SuperAl » 25 Août 2023 07:35

D'accord, tu as une idée pour savoir lequel ça doit être? Quelle démarche pour le trouver...

Alors pour la VR, avant j'avais commencé un projet vraiment rapidement juste pour essayer la mise en place, voir si j'arrivais à paramétrer la VR - UNITY.
Actuellement ce n'est pas une appli VR mais simplement un jeu Android.

Avatar de l’utilisateur
boubouk50
ModoGenereux
ModoGenereux
Messages : 6225
Inscription : 28 Avr 2014 11:57
Localisation : Saint-Didier-en-Bresse (71)

Re: Gradle built failed :(

Message par boubouk50 » 25 Août 2023 09:40

Pas vraiment, je n'ai pas compilé d'appli Android depuis plusieurs années, ça a bien évolué depuis.

Je commencerai par là :
Could not determine the dependencies of task ':launcher:lintVitalReportRelease'.
https://forum.unity.com/threads/lint-vi ... or.943346/

Utilises-tu UnityAds ? J'ai lu qu'il avait tendance à générer cette erreur.
"Ce n'est pas en améliorant la bougie, que l'on a inventé l'ampoule, c'est en marchant longtemps."
Nétiquette du forum
Savoir faire une recherche
Apprendre la programmation

Avatar de l’utilisateur
SuperAl
Messages : 20
Inscription : 28 Sep 2018 16:40

Re: Gradle built failed :(

Message par SuperAl » 25 Août 2023 18:00

Effectivement j'utilise bien UnityAds, j'avais vu une info ou deux dessus comme quoi il y avait des problèmes.
Je vais essayer de trouver ça!
J'ai compilé plein de fois pour tester sur mon téléphone mais depuis que je voulais le passer sur Googe Play je n'arrive plus à le compiler tout ça tout ça, j'ai du faire une mauvaise manip!

Répondre

Revenir vers « Unity le logiciel »