Gradle Issues

Hello, I never have an issue using Gradle with Android Studio but I cannot seem to get it to build in Unity. The error I get is Minimum supported Gradle version is 2.14.1. Current version is 2.14 yet Unity does not allow the use of a gradle-wrapper at least I have not been able to use one. As far as I can tell the Gradle version in Unity is fixed and cannot be changed so then how Can I possible use Gradle with this roadblock? Is there any work around to this at all?

I have searched for hours and no solution has yet worked.

I’m in the same boat here. Could you solve it?

The solution was to use Java SDK version 8. You can download an earlier version from the Sun’s archive page. The Gradle wrapper won’t work with any newer Java version. You can keep multiple Java versions installed just make sure that you point to the Java 8 SDK within Unity if you plan on using Gradle.