Even though Java 15 is the latest released version, it is a non-LTS version, so Android maintains the latest LTS release, Java 11 , as the required minimum.22 Ara 2020
Read moreWhich version of JDK is compatible with Android Studio?
Set the JDK version A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher , and this is the JDK version we recommend you use for your Android projects.
Read moreDoes Android use Java 7?
The JRE is the Java Runtime Environment while the JDK is the Java Development Kit. It is the JDK that you need for Android application development along with the existing Android SDK. The Android SDK can use either JDK 6 or 7 , however, it can ONLY use the JDK 6 API.
Read moreCan I use Java 11 for Android?
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.
Read more