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 moreIs Java still supported Android?
Yes. Absolutely. Java is still 100% supported by Google for Android development . The majority of Android apps today have some mix of both Java and Kotlin code.
Read more