title: Android Studio 2.2.3: Gradle project sync failed. Basic functionality (e.g. editting, debugging) will not work properly
body: <p>I needed to preinstall my laptop and switched to Windows 10 . Before that I made and saved my project in Android Studio 2.2.3 and I downloaded the same version of Android Studio after preinstallation, but when I choose Open Existing Project I got the following message:</p>
  
  <blockquote>
    <p>Failed to sync gradle project 'ApplicationName' Error:Unable to find
    method
    'org.gradle.api.artifacts.Configuration.setExtendsFrom(Ljava/lang/Iterable;)Lorg/gradle/api/artifacts/Configuration;'.</p>
    
    <p>Possible causes for this unexpected error include: Gradle's dependency
    cache may be corrupt (this sometimes occurs after a network connection
    timeout.)</p>
    
    <p>The state of a Gradle build process (daemon) may be corrupt. Stopping
    all Gradle daemons may solve this problem.</p>
    
    <p>Your project may be using a third-party plugin which is not compatible
    with the other plugins in the project or the version of Gradle
    requested by the project.
    Blockquote</p>
  </blockquote>
  
  <p>I did all the three steps suggested by Android Studio to fix my project, but none of them worked. </p>