title: org.gradle.tooling.model.UnsupportedMethodException: Unsupported method: AndroidArtifact.getBuildConfigFields()
body: <p>I was building my android project on Android Studio 4.2.1.
  but I get this error:</p>
  
  <pre><code>org.gradle.tooling.model.UnsupportedMethodException: Unsupported method: 
      AndroidArtifact.getBuildConfigFields().
      The version of Gradle you connect to does not support that method.
      To resolve the problem you can change/upgrade the target version of Gradle you connect to.
      Alternatively, you can ignore this exception and read other information from the model.
  </code></pre>
  
  <p>my Gradle version:</p>
  
  <pre><code>distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-bin.zip
  </code></pre>
  
  <p>my Gradle plugin tools version:</p>
  
  <pre><code>com.android.tools.build:gradle:4.1.0-alpha09
  </code></pre>
  
  <p>The both Gradle and Gradle plugin are the latest versions. The exception says that I need to update/change the connected Gradle version. </p>
  
  <p>I am impossible to upgrade further version because I am already on the latest version. So, the only thing I can do is changing the grade version, but which one?</p>