2

Below is part of the output of flutter doctor -v.

Android Studio (version 2024.2) [107ms]
    • Android Studio at /home/noor/Documents/Apps/android-studio
    • Flutter plugin version 83.0.3
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /home/noor/Documents/Apps/android-studio
    • Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)

java --version in terminal output the following:

java 23.0.2 2025-01-21
Java(TM) SE Runtime Environment (build 23.0.2+7-58)
Java HotSpot(TM) 64-Bit Server VM (build 23.0.2+7-58, mixed mode, sharing)

I am using Android Studio Ladybug Feature Drop. How to change the java version of Android studio to match the java version being used on the system?

5
  • This should not be closed because it's specific to Android Ladybug Feature Drop which has moved all the setting locations and changed the menus, so the linked answer no longer applies. Commented Feb 25 at 21:15
  • 1
    @LeMotJuiced That just means that new answers need to be added to the duplicate Question, or existing answers need to be edited to include the new information. Commented Feb 26 at 7:23
  • @LeMotJuiced The top-rated answer alread has a section titled "Android Studio Arctic Fox (2020.3.1)" that explains where the option can be found in newer AS versions (starting from Arctic Fox, up until at least the current version Ladybug). The linked answer therefore applies perfectly. Commented Feb 27 at 13:38
  • @tyg The top rated answer is irrelevant to Android Studio Ladybug feature drop Commented Mar 1 at 17:29
  • @LeMotJuiced: Not true, in the current stable version Android Studio Ladybug Feature Drop | 2024.2.2 Patch 2 it is still at the exact same location where that answer claims it to be: Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JDK Commented Mar 1 at 19:14

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.