title: Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4-all.zip'
body: <p>Hi Can anyone help me on this error Pl</p>
  <p>Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.4-all.zip'.
  org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'android'.
  A problem occurred configuring root project 'android'.
  A problem occurred evaluating root project 'android'.
  A problem occurred configuring project ':app'.
  A problem occurred evaluating project ':app'.
  Failed to apply plugin 'com.android.internal.application'.
  Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
  You can try some of the following options:</p>
  <ul>
  <li>changing the IDE settings.</li>
  <li>changing the JAVA_HOME environment variable.</li>
  </ul>