title: Flutter 2: Unable to determine bundled Java version
body: <p>I am using Android Studio under Windows 10 to make run a flutter project, however I have this warning I would like to fix :</p>
  <pre><code>X Unable to determine bundled Java version.
      • Try updating or re-installing Android Studio.
  </code></pre>
  <p>I have already try multiple solutions exposed on Stackoverflow / Git but no ones worked.</p>
  <p>Here the settings of my project :</p>
  <p><a href="https://i.stack.imgur.com/94hRh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/94hRh.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/Gm5FT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Gm5FT.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/dMV44.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dMV44.png" alt="enter image description here" /></a></p>
  <p>Here my flutter doctor :</p>
  <pre><code>C:\lib\flutter\bin\flutter.bat doctor --verbose
  [√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [version 10.0.19042.1165], locale fr-FR)
      • Flutter version 2.2.3 at C:\lib\flutter
      • Framework revision f4abaa0735 (8 weeks ago), 2021-07-01 12:46:11 -0700
      • Engine revision 241c87ad80
      • Dart version 2.13.4
  
  [√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
      • Android SDK at C:/Users/[MY_USER]/AppData/Local/Android/Sdk
      • Platform android-30, build-tools 30.0.2
      • ANDROID_HOME = C:/Users/[MY_USER]/AppData/Local/Android/Sdk
      • Java binary at: C:\Program Files\Java\jdk1.8.0_291\bin\java
      • Java version Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
      • All Android licenses accepted.
  
  [√] Chrome - develop for the web
      • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
  
  [!] Android Studio (version 4.1.0)
      • Android Studio at C:\Program Files\Android\Android Studio
      • 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
      X Unable to determine bundled Java version.
      • Try updating or re-installing Android Studio.
  
  [√] VS Code (version 1.59.1)
      • VS Code at C:\Users\[MY_USER]\AppData\Local\Programs\Microsoft VS Code
      • Flutter extension can be installed from:
         https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
  
  [√] Connected device (3 available)
      • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
      • Chrome (web)                       • chrome        • web-javascript • Google Chrome 92.0.4515.159
      • Edge (web)                         • edge          • web-javascript • Microsoft Edge 92.0.902.84
  
  ! Doctor found issues in 1 category.
  Process finished with exit code 0
  </code></pre>
  <p>Could you provide help please ?</p>