title: Could not compile settings file Settings.gradle while creating build in ionic cordova app
body: <p>Getting this error from last couple of days could not able to get solution.</p>
  <p>using below command to generate android apk using ionic and cordova</p>
  <pre><code>ionic cordova build android
  </code></pre>
  <p>General error during conversion: Unsupported class file major version 61
  <a href="https://i.stack.imgur.com/PRFq3.png" rel="nofollow noreferrer">You can checkout the error here for better understanding</a></p>
  <p>I am using
  Gradle v7.4.2
  java v17.0.2</p>
  <p>Automated code in <strong>settings.gradle</strong> file is</p>
  <pre><code>// GENERATED FILE - DO NOT EDIT
  apply from: &quot;cdv-gradle-name.gradle&quot;
  include &quot;:&quot;
  include &quot;:CordovaLib&quot;
  include &quot;:app&quot;
  </code></pre>