Unable to `Spawn an object on an AR Marker

I am using Unity 2021.3.1f1 and my phone is an Redmi M2101K6G.
I am trying to go through the Mobile AR Development Pathways. I was going through all steps which were listed there to Spawn an Object on an AR Marker. When I came to the point where I had to build and run the system following showed up on my console.

BuildDatabaseFailedException: arcoreimg failed with exit code 1 and stderr:
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1026 18:29:06.469264 16868 distribute.cc:92] No keypoints to prune.
C:\Users\josas\AppData\Local\Temp\6243dddb88fd4c098696a17a1310e4fa\f0d5c1052c5745c99d8cdda02c5cb580.png: Failed to get enough keypoints from target image.
Failed to add some of the images to database.

UnityEditor.XR.ARCore.ArCoreImg.BuildDb (UnityEngine.XR.ARSubsystems.XRReferenceImageLibrary library) (at Library/PackageCache/com.unity.xr.arcore@4.2.3/Editor/ArCoreImg.cs:102)
UnityEditor.XR.ARCore.ARCoreImageLibraryBuildProcessor.BuildAssets () (at Library/PackageCache/com.unity.xr.arcore@4.2.3/Editor/ARCoreImageLibraryBuildProcessor.cs:37)
Rethrow as Exception:
-
-
-
Error building XRReferenceImageLibrary Assets/_ARMarker/Markers/ReferenceImageLibrary.asset: The arcoreimg command line tool exited with code (1) and stderr:
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1026 18:29:06.469264 16868 distribute.cc:92] No keypoints to prune.
C:/Users/josas/AppData/Local/Temp/6243dddb88fd4c098696a17a1310e4fa/f0d5c1052c5745c99d8cdda02c5cb580.png: Failed to get enough keypoints from target image.
Failed to add some of the images to database.
-
-
-
UnityEditor.XR.ARCore.ARCoreImageLibraryBuildProcessor.Rethrow (UnityEngine.XR.ARSubsystems.XRReferenceImageLibrary library, System.String message, System.Exception innerException) (at Library/PackageCache/com.unity.xr.arcore@4.2.3/Editor/ARCoreImageLibraryBuildProcessor.cs:16)
UnityEditor.XR.ARCore.ARCoreImageLibraryBuildProcessor.BuildAssets () (at Library/PackageCache/com.unity.xr.arcore@4.2.3/Editor/ARCoreImageLibraryBuildProcessor.cs:49)
UnityEditor.XR.ARCore.ARCoreImageLibraryBuildProcessor.UnityEditor.Build.IPreprocessBuildWithReport.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Library/PackageCache/com.unity.xr.arcore@4.2.3/Editor/ARCoreImageLibraryBuildProcessor.cs:74)
UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass16_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at <1135c66e5f4c41a7831fa5798849d8b6>:0)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Error building Player: BuildDatabaseFailedException: arcoreimg failed with exit code 1 and stderr:
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1026 18:29:06.469264 16868 distribute.cc:92] No keypoints to prune.
C:\Users\josas\AppData\Local\Temp\6243dddb88fd4c098696a17a1310e4fa\f0d5c1052c5745c99d8cdda02c5cb580.png: Failed to get enough keypoints from target image.
Failed to add some of the images to database.`