CommandInvocationFailure: Gradle build failed

I’m facing an error below when i try to build my app.
CommandInvokationFailure: Gradle build failed.
D:\New folder\Unity Hub\2022.3.17f1-x86_64\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath “D:\New folder\Unity Hub\2022.3.17f1-x86_64\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “bundleRelease”

how could i fix this?

Post the entire error message, this is just the first line and it’s not helpful to identify the actual error message.