I got a problem related to Android Release with custom build template.
* What went wrong:
A problem occurred evaluating root project 'build'.
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
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`.
The solution is simple to install jdk-11 instead of jdk-8. Jdk8 is almost out of support anyway
I got a problem related to Android Release with custom build template.
The solution is simple to install jdk-11 instead of jdk-8. Jdk8 is almost out of support anyway