简体   繁体   中英

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

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM