Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

CommandInvokationFailure: Gradle build failed.

Discussion in 'Editor & General Support' started by Aristocracy, Sep 24, 2018.

  1. ahmedaniss

    ahmedaniss

    Joined:
    Sep 18, 2019
    Posts:
    98
    Problem fixed here :
     
  2. mbhagat

    mbhagat

    Joined:
    Dec 15, 2013
    Posts:
    49
    This helped me.
    I am using unity 2019.4.30
     
    tiburon likes this.
  3. erfanshshsh

    erfanshshsh

    Joined:
    Nov 13, 2022
    Posts:
    1
    so if you manually set a gradle path for your unity project and get this error you have this solution:
    Download the correct gradle version!
    unity does not give any indication of what version it needs when you select gradle folder on external tools tab, but if you search on google unity {your version of unity} gradle version you can see what version of gradle it needs. in my case {unity 2022.2} i was using the latest version but it needed the gradle 7.2.