Product: Android Studio
Error: Android gradle plugin requires java 11 to run. You are currently using java 1.8
Solution: You will need to change the Gradle setting.
1. Go to File > Project Structure > SDK Location >Gradle Settings
2. Change the Gradle JDK to Android Studio default JDK and click Ok.