Failure to Build for Android Platform

Good Day …Trying to build my game for the Android Platform to be on Oculus Meta Quest 2 …I am faced with these errors. Any help with that …Appreciate

Building Library\Bee\artifacts\Android\d8kzr\libil2cpp.so failed with output:
Library/Bee/artifacts/Android/d8kzr/ocu1_gistration.o:(.data.g_CodeGenModules+0x80): undefined reference to g_UnityEngine_GridModule_CodeGenModule' Library/Bee/artifacts/Android/d8kzr/ocu1_gistration.o:(.data.g_CodeGenModules+0xd8): undefined reference to g_UnityEngine_SpriteShapeModule_CodeGenModule’
Library/Bee/artifacts/Android/d8kzr/ocu1_gistration.o:(.data.g_CodeGenModules+0x100): undefined reference to `g_UnityEngine_TilemapModule_CodeGenModule’
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

BuildFailedException: Incremental Player build failed!
UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <7fef092428a04dc89d2aa6ad3ce5d856>:0)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <7fef092428a04dc89d2aa6ad3ce5d856>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <23ab6b9c559c4cda96c8ce953786e75a>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <7fef092428a04dc89d2aa6ad3ce5d856>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <7fef092428a04dc89d2aa6ad3ce5d856>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <7fef092428a04dc89d2aa6ad3ce5d856>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

These errors might be related to missing or improperly linked libraries. Here are some steps you can try to resolve the issue:

Ensure that you have the correct version of the Android NDK and SDK installed. Go to Unity’s Preferences (Edit > Preferences), then click on the External Tools tab. Check the paths for Android SDK and NDK, and make sure they’re pointing to the correct directories.

Make sure that all required modules are installed and enabled for your project. To check this, go to Window > Package Manager. Look for the Grid, SpriteShape, and Tilemap packages, and ensure they’re installed and up-to-date.

If the modules are installed and enabled, but you’re still encountering the issue, it might be due to a conflict with the Oculus Integration package. Try updating the package or reinstalling it:

a. Go to Window > Package Manager.

b. Find the Oculus package in the list.

c. Update the package if a newer version is available, or remove and reinstall it if you're already on the latest version.

If the issue persists, you can try regenerating the project files:

a. Close Unity.

b. Navigate to your project's root directory and delete the Library folder.

c. Reopen Unity and let it regenerate the Library folder and re-import assets.

Lastly, if none of the above steps work, you can try creating a new Unity project and importing your assets there. This can help identify if there are any issues with your current project setup or configuration.

I hope these suggestions help you resolve the build errors. If you still encounter issues, please provide more information about your project setup, including the Unity version and any additional packages or plugins you’re using, so I can provide more specific guidance. Good luck!