title: Gradle build fails with "unable to resolve class: ExtraModelBuilder"
body: <p>I would like to start programming an android application. I am following a tutorial etc. and when in the background gradle tries to build the project I get an error:</p>
  <pre><code>Starting Gradle Daemon...
  Gradle Daemon started in 2 s 153 ms
   
  FAILURE: Build failed with an exception.
   
  * Where:
  Initialization script 'C:\Users\***\AppData\Local\Temp\ijinit.gradle' line: 4
   
  * What went wrong:
  Could not compile initialization script 'C:\Users\***\AppData\Local\Temp\ijinit.gradle'.
  &gt; startup failed:
    initialization script 'C:\Users\***\AppData\Local\Temp\ijinit.gradle': 4: unable to resolve class org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder
     @ line 4, column 1.
       import org.jetbrains.plugins.gradle.tooling.internal.ExtraModelBuilder
       ^
   
    1 error
  </code></pre>
  <p>Full exception details: <a href="https://pastebin.com/jqQkycLc" rel="nofollow noreferrer">https://pastebin.com/jqQkycLc</a></p>
  <p>I have Android Studio version 2021.3.1 (the latest) and I just started my project (I just added strings in strings.xml)</p>
  <p>Thanks for your help!</p>