运行命令flutter doctor
时出现1个问题:
[✓] Flutter (Channel stable, 2.8.1, on macOS 13.1 22C65 darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] 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.69.2)
[✓] Connected device (2 available)
系统配置:
macOS Ventura v13.1 | 英特尔芯片
Android Studio 电鳗(稳定版v2022.1.1)
JAVA_HOME=/Applications/Android\ Studio.app/Contents/jbr/Contents/Home
java -version
命令在终端中完美运行。