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
- Tags:
- android studio
- java
- jdk