Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

CommandInvokationFailure: Gradle build failed. D:\Unity\2022.3.3f1\Editor\Data\PlaybackEngines\Andr

Discussion in 'Getting Started' started by bbrot381, Jun 24, 2023.

  1. bbrot381

    bbrot381

    Joined:
    Oct 27, 2022
    Posts:
    2
    hello,
    i am trying to build my program, but i keep getting this error:

    CommandInvokationFailure: Gradle build failed.
    D:\Unity\2022.3.3f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "D:\Unity\2022.3.3f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

    Does anyone know this error and a solution?

    Thanks for help
     
  2. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    You probably do not have the correct Android modules installed, what version of Unity are you using? What OS?
     
  3. bbrot381

    bbrot381

    Joined:
    Oct 27, 2022
    Posts:
    2
    i am using version 2022.3.3f1 on windows...