LoginSignup
0
0

More than 1 year has passed since last update.

flutter doctorでUnable to find bundled Java version.と指摘される(2023年2月20日)

Posted at

android studioを最新版にアップデートしてdoctorを走らせると以下のようなエラーが発生した.

[√] Flutter (Channel stable, 3.7.3, on Microsoft Windows [Version 10.0.19043.1645], locale ja-JP)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.1)
[!] Android Studio (version 2022.1)
    X Unable to find bundled Java version.
[√] VS Code (version 1.75.1)
[√] Connected device (3 available)
[√] HTTP Host Availability

その対策法が
Unable to find bundled Java version
に書いてあったので説明する.

  1. C:\Program Files\Android\Android Studioを開く
  2. jreフォルダにjbrフォルダをコピペする
  3. ターミナルを再起動してもう一回flutter doctorをする

以上の手順でエラーは解消された.

[√] Flutter (Channel stable, 3.7.3, on Microsoft Windows [Version 10.0.19043.1645], locale ja-JP)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.1)
[√] Android Studio (version 2022.1)
[√] VS Code (version 1.75.1)
[√] Connected device (3 available)
[√] HTTP Host Availability

最近のAndroid Studioで起きているエラーらしい.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0