title: Gradle Sync Failed Flutter 2.5.1
body: <p>I have an application where it has some screens made in Flutter (add2app), but when I try to do a Gradle Sync on the host application I get the following error:</p>
  <pre><code>Gradle sync failed: Cannot change dependencies of configuration ':flutter:releaseApi' after it has been included in dependency resolution.
  </code></pre>
  <p>Does anyone has any tips on what it could be? I am using Flutter 2.5.1.</p>
  <p>I know there is a question about the same problem, but it is more than 2 years old and the problem started happening to me now. (<a href="https://stackoverflow.com/questions/56491802/cannot-change-dependencies-of-configuration-flutterreleaseapi-when-trying-to">Cannot change dependencies of configuration &#39;:flutter:releaseApi&#39; when trying to use Flutter with existing project</a>)</p>