FAILURE: Build failed with an exception.
01:18:11.309
01:18:11.309 Where:
01:18:11.309 Build file 'C:\Users\administor\AppData\Local\Temp\Corona Labs\CLtmpa10712\template\app\build.gradle.kts' line: 10
01:18:11.309
01:18:11.309 What went wrong:
01:18:11.309 An exception occurred applying plugin request [id: 'com.android.application']
01:18:11.309 > Failed to apply plugin 'com.android.internal.application'.
01:18:11.309 > Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
01:18:11.309 Your current JDK is located in C:\Program Files (x86)\Corona Labs\Corona\jre
01:18:11.309 You can try some of the following options:
01:18:11.309 - changing the IDE settings.
01:18:11.309 - changing the JAVA_HOME environment variable.
01:18:11.309 - changing org.gradle.java.home in gradle.properties.
01:18:11.309
01:18:11.309 * Try:
01:18:11.309 > Run with --stacktrace option to get the stack trace.
01:18:11.309 > Run with --info or --debug option to get more log output.
01:18:11.309 > Run with --scan to get full insights.
01:18:11.309 > Get more help at https://help.gradle.org.
01:18:11.309
01:18:11.309 BUILD FAILED in 7s
01:18:11.465 Android build failed (1) after 10 seconds
FAILURE: Build failed with an exception. 01:18:11.309
01:18:11.309 Where: 01:18:11.309 Build file 'C:\Users\administor\AppData\Local\Temp\Corona Labs\CLtmpa10712\template\app\build.gradle.kts' line: 10 01:18:11.309
01:18:11.309 What went wrong: 01:18:11.309 An exception occurred applying plugin request [id: 'com.android.application'] 01:18:11.309 > Failed to apply plugin 'com.android.internal.application'. 01:18:11.309 > Android Gradle plugin requires Java 17 to run. You are currently using Java 11. 01:18:11.309 Your current JDK is located in C:\Program Files (x86)\Corona Labs\Corona\jre 01:18:11.309 You can try some of the following options: 01:18:11.309 - changing the IDE settings. 01:18:11.309 - changing the JAVA_HOME environment variable. 01:18:11.309 - changing
org.gradle.java.home
ingradle.properties
. 01:18:11.30901:18:11.309 * Try: 01:18:11.309 > Run with --stacktrace option to get the stack trace. 01:18:11.309 > Run with --info or --debug option to get more log output. 01:18:11.309 > Run with --scan to get full insights. 01:18:11.309 > Get more help at https://help.gradle.org. 01:18:11.309
01:18:11.309 BUILD FAILED in 7s 01:18:11.465 Android build failed (1) after 10 seconds