-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
customer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.workaround availableThere is a workaround available to overcome the issueThere is a workaround available to overcome the issue
Description
Steps to Reproduce
flutter doctor -v
[!] Android Studio (version 2022.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Unable to find bundled Java version.
• Try updating or re-installing Android Studio.
My specs:
Macbook Apple M1
MacOS 13.1 (22C65)
Android Studio Electric Eel | 2022.1.1
java 11.0.16.1 2022-08-18 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.16.1+1-LTS-1)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16.1+1-LTS-1, mixed mode)
This is my .zshrc:
export PATH="$PATH:$HOME/flutter/bin"
export JAVA11_HOME=$(/usr/libexec/java_home -v11.0)
export JAVA_HOME=$JAVA11_HOME
I've tried:
- Creating a symlink.
- Copying folder as suggested here Unable to find bundled Java version. #76215 (comment)
This is similar to these tickets but it's not resolved:
arjdroid, core01, ttb-inc, CDovel, Alex-Espressone and 36 moreVanson
Metadata
Metadata
Assignees
Labels
customer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versiont: flutter doctorProblem related to the "flutter doctor" toolProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.workaround availableThere is a workaround available to overcome the issueThere is a workaround available to overcome the issue