
Hope this fixed the error you are facing.ĭo not forget refer our website Easy SEO Check with your family and friends, if the above steps solved your issue, if not please comment so that we can help you. than in drop down > Build tool > Click to Gradle, After that in Gradle JDK option Select 11 Version and Click Apply than OK, After opening your project on Android studio, on top let click on file than Setting refer the below imageĢ. Let’s try to solve the error – follow steps below:ġ. – changing the JAVA_HOME environment variable. You can try some of the following options:

> Android Gradle plugin requires Java 11 to run. If you see this following warnings: Do not worry there is a simple way to fix itĪ problem occurred evaluating project ‘:app’. I apologize if my explanation was not very good, English is not my native language and I am new to Android Studio and Gradle.SOLVED Android Gradle plugin requires Java 11 to run. I have also tried building the program on Windows, Ubuntu, having only Java 8 or Java 11 installed on my computer, changing the JAVA_HOME environmental variable, but nothing works. It simply allows our team (and our partners) to leverage some new features of the Java language with no implications on runtime/API compatibility. As some of our partners begin moving to 1.8, we follow suit.

To fix this problem I have gone to Project Structure, Gradle Settings and selected Gradle JDK version 1.8. Android Studio has been supporting partial compatibility with Java 1.8 since version 3.0.0. The error message I get when building the project is: "Cause: com/android/tools/idea/gradle/run/OutputBuildAction has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0įrom what I understand the project is being compiled using Java 11 and trying to run using Java 8. I'm doing my final degree project and I received an application made in Android Studio, I have instructions to run it in Java 8, using Android Gradle Plugin Version 3.3.0 and Gradle Version 4.10.1, apparently these are values that they don't want me to change. I have a problem using Gradle on Android Studio.
