Gradle Build Failed. Android resource linking failed.
I am getting this error and cant build for android. I was just starting out with unity so, I am not sure what to do here.
Note: D:\Unity Program_ install etc\Projects\RummyLite\RummyBabaLite v_1\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
-
Android resource linking failed
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 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
0x00007FF69291258C (Unity) StackWalker::GetCurrentCallstack 0x00007FF692916531 (Unity) StackWalker::ShowCallstack 0x00007FF690F75AE5 (Unity) GetStacktrace 0x00007FF6935CFFCE (Unity) DebugStringToFile 0x00007FF692976131 (Unity) DebugLogHandler_CUSTOM_Internal_Log 0x0000022C474C3E7B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object) 0x0000022C474C3D1B (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) 0x0000022C474C323E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object) 0x0000022C5E7465CA (Mono JIT Code) UnityEngine.Debug:LogError (object) 0x0000022C5E745A73 (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException () 0x0000022C5154B68B (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext) 0x0000022C59D1258B (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.BuildTarget,string,string,string,string,string,string,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport) 0x0000022C510CEE1B (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&) 0x0000022C510CE002 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport) 0x0000022C510CE5D0 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr) 0x00007FFB75D9E280 (mono-2.0-bdwgc) [mini-runtime.c:2813] mono_jit_runtime_invoke 0x00007FFB75D22AE2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke 0x00007FFB75D2BB3F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke 0x00007FF692883F3E (Unity) scripting_method_invoke 0x00007FF69287D98D (Unity) ScriptingInvocation::Invoke 0x00007FF6907976B5 (Unity) CallMono 0x00007FF6907B536D (Unity) PostprocessPlayer 0x00007FF6907A02DD (Unity) DoBuildPlayer_PostBuild 0x00007FF69078E2CB (Unity) BuildPlayer 0x00007FF6915DC008 (Unity) BuildPipeline::BuildPlayerInternalNoCheck 0x00007FF6915D9D0E (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck 0x0000022C44C825A3 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,UnityEditor.BuildOptions,bool) 0x0000022C44C812F3 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions) 0x0000022C44B69173 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions) 0x0000022C4481AA13 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform) 0x0000022C44725D6B (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings () 0x0000022C447119B3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI () 0x0000022BFC02AB90 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void_this (object,intptr,intptr,intptr) 0x00007FFB75D9E280 (mono-2.0-bdwgc) [mini-runtime.c:2813] mono_jit_runtime_invoke 0x00007FFB75D22AE2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke 0x00007FFB75D2BD12 (mono-2.0-bdwgc) [object.c:3073] mono_runtime_invoke_checked 0x00007FFB75D2C4A9 (mono-2.0-bdwgc) [object.c:5264] mono_runtime_try_invoke_array 0x00007FFB75D2BCA6 (mono-2.0-bdwgc) [object.c:5142] mono_runtime_invoke_array_checked 0x00007FFB75CD0494 (mono-2.0-bdwgc) [icall.c:3358] ves_icall_InternalInvoke 0x0000022BFC03F9D6 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) 0x0000022BFC38E88B (Mono JIT Code) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) 0x0000022BFD871E6F (Mono JIT Code) System.Reflection.MethodBase:Invoke (object,object[]) 0x0000022C42BD14DB (Mono JIT Code) UnityEditor.HostView:Invoke (string,object) 0x0000022C42BD134B (Mono JIT Code) UnityEditor.HostView:Invoke (string) 0x0000022BD11EAE9B (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect) 0x0000022BD11EA953 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect,UnityEngine.Rect) 0x0000022BD11D2C3B (Mono JIT Code) UnityEditor.DockArea:OldOnGUI () 0x0000022BD119A5DA (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) 0x0000022BD1198053 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) 0x0000022C44738ACB (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool) 0x0000022C447387D3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool) 0x0000022C44CB16B3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool) 0x0000022C42BBF303 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase) 0x0000022C42B775A6 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase) 0x0000022C44CA3103 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x0000022C42B717E6 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool) 0x0000022C42B70433 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x0000022C42B6EC93 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue () 0x0000022C42B6E92B (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate () 0x0000022C42B6E6CB (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:Dispose () 0x0000022C42B70D3B (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel) 0x0000022C42B69533 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode) 0x0000022C42B6909B (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode) 0x0000022C42F9E6B3 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel) 0x0000022C42F9D9DB (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:ProcessEvent (int,intptr) 0x0000022C42F9D243 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr) 0x0000022C42F9D4C3 (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_bool_int_intptr (object,intptr,intptr,intptr) 0x00007FFB75D9E280 (mono-2.0-bdwgc) [mini-runtime.c:2813] mono_jit_runtime_invoke 0x00007FFB75D22AE2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke 0x00007FFB75D2BB3F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke 0x00007FF692883F3E (Unity) scripting_method_invoke 0x00007FF69287D98D (Unity) ScriptingInvocation::Invoke 0x00007FF6928773EA (Unity) ScriptingInvocation::Invoke 0x00007FF68FAF5965 (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent 0x00007FF6905261B4 (Unity) GUIView::ProcessRetainedMode 0x00007FF690F9C831 (Unity) GUIView::OnInputEvent 0x00007FF6905260AC (Unity) GUIView::ProcessInputEvent 0x00007FF690F9E235 (Unity) GUIView::ProcessEventMessages 0x00007FF690F96429 (Unity) GUIView::GUIViewWndProc 0x00007FFBCB00E7E8 (USER32) CallWindowProcW 0x00007FFBCB00E229 (USER32) DispatchMessageW 0x00007FF690F9B4CB (Unity) MainMessageLoop 0x00007FF690FA57C8 (Unity) WinMain 0x00007FF694099472 (Unity) _scrt_common_main_seh 0x00007FFBC9617034 (KERNEL32) BaseThreadInitThunk 0x00007FFBCB602651 (ntdll) RtlUserThreadStart