Android

Error message “Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8”

I downloaded the newest Android Studio, and I wanted to run the Android Jetpack Compose Project, but when I ran it, I got the error: I already downloaded Java 11 and added Java 11 in gradle.properties. Solution: Make sure that your Gradle is using the proper JDK. Try running ./gradlew --version in your project's directory. The output should …