Home > database >  Missing bundled JRE in Android Studio for Flutter
Missing bundled JRE in Android Studio for Flutter

Time:01-27

Setting up Flutter on MacOS Ventura 13.2 on an M1 MacBook Air. I've installed everything to get [✓] except for flutter doctor unable to find a bundled jre in Android Studio. I have found some other questions on this site, but none helped.

alan@Alans-MacBook-Air ~ % flutter doctor   
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.0, on macOS 13.2 22D49 darwin-arm64 (Rosetta), locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[!] Android Studio (version 2022.1)
    ✗ Unable to find bundled Java version.
[✓] VS Code (version 1.74.3)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Here's the full output of the Android Studio section:

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
                 
  • Related