How can I change the default JDK for new Android Studio projects?

Viewed 1125

Every time I create a new project in Android Studio I'm met with the following build error:

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

I already know how to change the project settings to use JDK 11, but I'd like to fix this problem permanently for all new projects.

How can I get Android Studio / Gradle to use JDK 11 instead of 1.8 for all new projects?

0 Answers
Related