title: Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.0.0-beta1
body: <p>I had android studio 2.3.3 and i install android studio 3.0.1. I can't sync project</p>
  
  <p>This is my error:</p>
  
  <pre><code>E:\AndroidProject\...\app\build.gradle
      Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.0.0-beta1. Open File Show Details
  
  Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:26.0.0-beta1.
  
  Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.android.support.constraint:constraint-layout:1.1.0-beta1. 
  ....
  </code></pre>
  
  <p>MY app build.gradle</p>
  
  <pre><code>    apply plugin: 'com.android.application'
              android {
          compileSdkVersion 26
          buildToolsVersion '26.0.2'
          defaultConfig {
              applicationId "com.avana.xxx"
              minSdkVersion 14
              targetSdkVersion 26
             ...
          }
      buildTypes {
          release {
              minifyEnabled true
              shrinkResources true
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      productFlavors {
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.android.support.constraint:constraint-layout:1.1.0-beta1'
      compile 'com.android.support:appcompat-v7:26.0.0-beta1'
      compile 'com.android.support:cardview-v7:26.0.0-beta1'
      compile 'com.android.support:design:26.0.0-beta1'
  }
  </code></pre>
  
  <p>build.gradle   </p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.0.1'
      }
  }
  
  allprojects {
      repositories {
          jcenter()
          maven {
              url "https://maven.google.com"
          }
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>gradle.wrapper</p>
  
  <pre><code>  distributionBase=GRADLE_USER_HOME
      distributionPath=wrapper/dists
      zipStoreBase=GRADLE_USER_HOME
      zipStorePath=wrapper/dists
      distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
  </code></pre>