I get this error when trying to make a build:
FAILURE: Build failed with an exception.
This is the full log:
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\scsta\Desktop\UnitySawyer\Sawyer's Tower\Library\Bee\Android\Prj\IL2CPP\Gradle\UnityDataAssetPack\build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':UnityDataAssetPack'.
> Plugin with id 'com.android.asset-pack' not found.
* 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 2s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
0x00007ff76e61d4fd (Unity) StackWalker::GetCurrentCallstack
0x00007ff76e6240b9 (Unity) StackWalker::ShowCallstack
0x00007ff76f5bae23 (Unity) GetStacktrace
0x00007ff76fc69b5d (Unity) DebugStringToFile
0x00007ff76d77ef92 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001e9b1aa2363 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001e9b1aa227b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001e9b1aa1fc0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001e9b1aa1ee5 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x000001e9eb871633 (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException ()
0x000001e9b1a7d013 (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
0x000001e9eb865b53 (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput)
0x000001e9b983f233 (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x000001e9b983e948 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x000001e9b983ec75 (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)
0x00007fff6ea6feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007fff6e9ae764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007fff6e9ae8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff76e541e94 (Unity) scripting_method_invoke
0x00007ff76e521694 (Unity) ScriptingInvocation::Invoke
0x00007ff76ffdd111 (Unity) CallMono
0x00007ff76ffe53e7 (Unity) PostprocessPlayer
0x00007ff76ffdffcf (Unity) DoBuildPlayer_PostBuild
0x00007ff76ffddf9e (Unity) DoBuildPlayer
0x00007ff76ffd209d (Unity) BuildPlayer
0x00007ff76de15246 (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff76dc2a870 (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x000001e9b1770cc7 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
0x000001e9b1770493 (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x000001e9b15fdae3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001e9b15c0ef3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform,UnityEditor.Modules.IBuildPostprocessor)
0x000001e9b15ae5d3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x000001e9b159a393 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x000001e70b30578a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x000001e70b3055a3 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect)
0x000001e70b2f56eb (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001e70b21ebc7 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001e70b2e0f5b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001e9af50ec1b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001e9af50ea83 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001e9af50e5cb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001e9af50e4b3 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001e988a32f7b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001e988a21ba8 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x000001e9af50b993 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001e988a0fc9e (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001e988a0f79b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001e988a263ab (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001e988a24723 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001e988a2465b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x000001e988a0fa23 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001e988a0f0d3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001e988a0ef4b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001e988b68573 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001e988b67f63 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001e988b67d1f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001e988b67c3b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001e988b67a8d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001e988b67b46 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007fff6ea6feb4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007fff6e9ae764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007fff6e9ae8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff76e541e94 (Unity) scripting_method_invoke
0x00007ff76e521694 (Unity) ScriptingInvocation::Invoke
0x00007ff76e51c295 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff76e6665aa (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff76f09a5a8 (Unity) GUIView::ProcessRetainedMode
0x00007ff76f5ebb51 (Unity) GUIView::OnInputEvent
0x00007ff76f09a4f3 (Unity) GUIView::ProcessInputEventFromAPI
0x00007ff76f09a3c8 (Unity) GUIView::ProcessInputEvent
0x00007ff76f5ec96d (Unity) GUIView::ProcessEventMessages
0x00007ff76f5e6629 (Unity) GUIView::GUIViewWndProc
0x00007fffdff78231 (USER32) DispatchMessageW
0x00007fffdff77cf1 (USER32) DispatchMessageW
0x00007ff76f5c0e43 (Unity) MainMessageLoop
0x00007ff76f5c588b (Unity) WinMain
0x00007ff7709a315e (Unity) __scrt_common_main_seh
0x00007fffdee5269d (KERNEL32) BaseThreadInitThunk
0x00007fffe040a9f8 (ntdll) RtlUserThreadStart
This is C:\Users\scsta\Desktop\UnitySawyer\Sawyer’s Tower\Library\Bee\Android\Prj\IL2CPP\Gradle\UnityDataAssetPack\build.gradle. It says the error is line 1
apply plugin: 'com.android.asset-pack'
assetPack {
packName = "UnityDataAssetPack"
dynamicDelivery {
deliveryType = "install-time"
}
}
Please help me fix this. Thank you.