title: How to fix: Gradle sync failed: Unsupported method: SyncIssue.getMultiLineMessage()
body: <p>I'm trying to build an old app (Udacity Android Basic course, 2017) in My newest android studio (4.1.1). The old app requires:</p>
  <ul>
  <li>Android SDK v23</li>
  <li>Android Build Tools v23.0.2</li>
  <li>Android Support Repository v23.3.0</li>
  </ul>
  <p>So I install android build tools v23.0.2 but I am getting a sync error every time. Please help.</p>
  <blockquote>
  <p>Gradle sync started</p>
  <p>14:34  Gradle sync failed: Unsupported method: SyncIssue.getMultiLineMessage().<br />
            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.<br />
            Alternatively, you can ignore this exception and read other information from the model.<br />
            Consult IDE log for more details (Help | Show Log) (17 s 149 ms)</p>
  </blockquote>
  <p>Below is my build.gradle(:) file:</p>
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.1.0'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  <p>below is my gradle.wrapper.propertise file</p>
  <pre><code>#Mon Dec 28 10:00:20 PST 2015
  distributionBase=GRADLE_USER_HOME
  distributionPath=wrapper/dists
  zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
  </code></pre>
  <p>below is my app/build.gradle</p>
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion &quot;23.0.2&quot;
  
      defaultConfig {
          applicationId &quot;com.example.android.quakereport&quot;
          minSdkVersion 15
          targetSdkVersion 23
          versionCode 1
          versionName &quot;1.0&quot;
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:23.3.0'
  }
  </code></pre>