
To download manually, need to download to the exact sub dir named by the hash. (recommended)Īndroid Studio will download gradle to sub dir named by a hash. Solution B: Download gradle distribution manually for gradlew.

Solution A: Use location gradle, and delete gradlew related files.

So, I would add a summary with missing details to save the unnecessary time wasted, in case others encounter into the same issue.)

(There are 2 solutions mentioned in existing answers that might work, but the preferred one - manually download gradle for gradlew, is lack of essential details, and cause it fail.
