title: "Minimum supported Gradle version is 2.14.1. Current version is 2.10." error
body: <p>I am trying to upgrade my Android application but I am getting the following error:</p>
  
  <blockquote>
    <p>Minimum supported Gradle version is 2.14.1.  Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in C:\Users\MyUser\Desktop\myproject\gradle\wrapper\gradle-wrapper.properties to gradle-2.14.1-all.zip</p>
  </blockquote>
  
  <p>This is the line refearing to gradle on <code>build.gradle(Project: myproject)</code>:</p>
  
  <pre><code>classpath 'com.android.tools.build:gradle:2.1.3'
  </code></pre>
  
  <p>And I have <code>minSdkVersion</code> and <code>targetSdkVersion</code> sets to 16 and 24 respectively.</p>
  
  <p><strong>What I have tried</strong></p>
  
  <ul>
  <li><p><strong><em>Option 1</em></strong>: Right click on my project > Open Module Settings Project > Project > Gradle version and setting 2.14.1.</p></li>
  <li><p><strong><em>Option 2</em></strong>: Close the IDE, delete gradle folder and restart Android Studio</p></li>
  <li><p><strong><em>Option 3</em></strong>: After changing the <code>classpath</code> to version 2.1.3, I have gone to File > Invalidate Caches/Restart... > Invalidate and Restart</p></li>
  <li><p><strong><em>Option 4</em></strong>: I have changed the <code>distributionUrl</code> property on C:\Users\MyUser\Desktop\myproject\gradle\wrapper\gradle-wrapper.properties to gradle-2.14.1-all.zip</p></li>
  </ul>
  
  <p>but any of these options work.</p>
  
  <p>What can I do to solve this error?</p>
  
  <p>Thanks in advance!</p>