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 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 moreWhat is the relation between Java and Android?
Java is a programming language, while Android is a mobile phone platform . Android development is java-based (most of the times), because a large portion of Java libraries is supported in Android. However, there are key differences. Unlike Java, Android applications do not have a main function.
Read moreIs Android and Java the same?
Yes it is . The syntax is exactly the same and you can use the same methods that are available in Java SE. Android has its own SDK (Software Development Kit) which is specific Java classes and methods for Android, i.e. dealing with click events and user interface.
Read moreDoes Android use Java?
Current versions of Android use the latest Java language and its libraries (but not full graphical user interface (GUI) frameworks), not the Apache Harmony Java implementation, that older versions used. Java 8 source code that works in latest version of Android, can be made to work in older versions of Android.
Read more