Skip to content Skip to sidebar Skip to footer

Which Java Se Versions Work With Android Studio 3.1?

Which Java SE version works with android studio 3.1? I recently installed Java SE 10 on Windows 10, but android studio always displays Gradle sync failed message with the following

Solution 1:

The maximum possible version for Android Studio 3.1 is Java 8. Also, some of the features of Java 8 are unavailable for lower API versions. For example, my minimum API version is 16 and if I try to use stream, I get errors because these features are available only for API 24 and higher. You can use lambda expressions, method references however etc. To know more, visit this Link


Post a Comment for "Which Java Se Versions Work With Android Studio 3.1?"