Build file 'D:\Unity\Projects2\<Game>\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':launcher'.
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Hi all
I am currently trying to build a Android game with the Unity 2023.1.3f1 and I am getting this error. The JDK setting is recommended in the Preferences, and I have edited the gradle setting to version 8 because of another error.
When I am setting the Gradle setting back to the recommended version (7.6) I am getting the following error regarding Android Bee plugin:
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\Unity\Projects2\CodeGame\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':launcher'.
> Failed to apply plugin 'com.android.internal.version-check'.
> Minimum supported Gradle version is 8.0. Current version is 7.6. If using the gradle wrapper, try editing the distributionUrl in D:\Unity\Projects2\CodeGame\Library\Bee\Android\Prj\IL2CPP\Gradle\gradle\wrapper\gradle-wrapper.properties to gradle-8.0-all.zip
Any ideas? There is nothing to be found online about these errors.