Soul Code
11/20/2024, 4:56 PMeditor/export/editor_export_platform.h:182 - Export: Building of Android project failed, check output for the error:
FAILURE: Build failed with an exception.
* Where:
Build file 'E:\ALL GODOT PROJECTS\Godot 4.3\chrismas project\chrimas\android\build\build.gradle' line: 3
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application', version: '8.2.0']
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in C:\Program Files\OpenLogic\jdk-11.0.21.9-hotspot
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
`- changing org.gradle.java.home
in gradle.properties
.`
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
I went to environment variables under advance settings from system settings then tried to change the path to the lastest openjdk but the the error is still there this is my last option please help me figure this out.
BUILD FAILED in 1s
Caleb Cushing
11/20/2024, 7:21 PM