Android Studio compileSdkVersion Requires JDK 1.8

shape
shape
shape
shape
shape
shape
shape
shape

Android SDK version 22 requires at least JDK 1.7. Android SDK 24 requires at least JDK 1.8.

How do I change the JDK version in Android Studio?

Considering that you already have JDK 1.8 installed, to change the JDK version in Android Studio go to:

File > Project Structure > SDK Location

Then change the JDK Location field to the JDK 1.8 installation directory

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest news

Latest news directly from our blog.