title: Unable to find bundled Java version. MacBook Air M1
body: <p>I was using flutter on MacBook Pro with intel. It was working fine. Now I switch to MacBook Air with M1 chip. I get error Unable to find bundled Java version. How can I fix it pleas?
  flutter doctor -v<br />
  [✓] Flutter (Channel stable, 2.2.3, on macOS 11.2 20D64 darwin-arm, locale
  en-KW)
  • Flutter version 2.2.3 at /Users/mac/FlutterDev/flutter
  • Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
  • Engine revision 241c87ad80
  • Dart version 2.13.4</p>
  <p>[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
  • Android SDK at /Users/mac/Library/Android/sdk
  • Platform android-31, build-tools 31.0.0
  • Java binary at: /Library/Internet
  Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
  • Java version Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
  • All Android licenses accepted.</p>
  <p>[✓] Xcode - develop for iOS and macOS
  • Xcode at /Applications/Xcode.app/Contents/Developer
  • Xcode 12.5.1, Build version 12E507
  • CocoaPods version 1.10.2</p>
  <p>[✓] Chrome - develop for the web
  • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome</p>
  <p>[!] Android Studio (version 2020.3)
  • Android Studio at /Applications/Android Studio.app/Contents
  • Flutter plugin can be installed from:
   <a href="https://plugins.jetbrains.com/plugin/9212-flutter" rel="nofollow noreferrer">https://plugins.jetbrains.com/plugin/9212-flutter</a>
  • Dart plugin can be installed from:
   <a href="https://plugins.jetbrains.com/plugin/6351-dart" rel="nofollow noreferrer">https://plugins.jetbrains.com/plugin/6351-dart</a>
  ✗ Unable to find bundled Java version.
  • Try updating or re-installing Android Studio.</p>
  <p>[✓] Connected device (2 available)
  • macOS (desktop) • macos  • darwin-arm64   • macOS 11.2 20D64 darwin-arm
  • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.131</p>
  <p>! Doctor found issues in 1 category.</p>