title: Android Studio Arctic Fox gives a Gradle error
body: <p>I was doing some basic stuff with Flutter when I received the Android Studio update Arctic Fox. I just updated. When I ran my app (which was fine before the upgrade) just after the update this error appeared.
  <a href="https://i.stack.imgur.com/TFeZI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TFeZI.png" alt="enter image description here" /></a></p>
  <p><code>flutter doctor</code> output is here.</p>
  <p><a href="https://i.stack.imgur.com/nwPBq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nwPBq.png" alt="enter image description here" /></a></p>
  <p>java version is</p>
  <p><a href="https://i.stack.imgur.com/bFLgd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bFLgd.png" alt="enter image description here" /></a></p>
  <p>In the Project Structure in Android Studio I cannot set Java SDK as seen below.</p>
  <p><a href="https://i.stack.imgur.com/vollv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vollv.png" alt="enter image description here" /></a></p>
  <p>I found <a href="https://stackoverflow.com/questions/51281702/unable-to-find-bundled-java-version-on-flutter?rq=1">this</a> question and so many others on the Internet while trying to fix the issue, I could not find the solution yet.  Can someone help me to fix this please.</p>