title: Android Studio3.0 Error Could not resolve all files for configuration ':app:debugAnnotationProcessorClasspath'
body: <p>this is my model gradle:</p>
  
  <pre><code> apply plugin: 'com.android.application'
  
      android {
          compileSdkVersion 26
          defaultConfig {
              applicationId "cn.xpcheng.dagger2demo"
              minSdkVersion 18
              targetSdkVersion 26
              versionCode 1
              versionName "1.0"
              testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
              javaCompileOptions {
                  annotationProcessorOptions {
                      includeCompileClasspath true
                  }
              }
          }
          buildTypes {
              release {
                  minifyEnabled false
                  proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
              }
          }
      }
  
      dependencies {
          implementation fileTree(include: ['*.jar'], dir: 'libs')
          implementation 'com.android.support:appcompat-v7:26.1.0'
          testImplementation 'junit:junit:4.12'
          androidTestImplementation 'com.android.support.test:runner:1.0.1'
          androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  
          compile 'com.google.dagger:dagger:2.13'
          annotationProcessor 'com.google.dagger:dagger-compiler:2.13'
      }
  </code></pre>
  
  <p>this is my project build.gradle:</p>
  
  <pre><code>buildscript {
  
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.0.0'
  
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>When I make Project ,Android Studio give me this messages:</p>
  
  <p>Error:Could not resolve all files for configuration ':app:debugAnnotationProcessorClasspath'.</p>
  
  <blockquote>
    <p>Could not resolve com.google.dagger:dagger-compiler:2.13.
      Required by:
          project :app
    No cached version of com.google.dagger:dagger-compiler:2.13 available for offline mode.
    No cached version of com.google.dagger:dagger-compiler:2.13 available for offline mode.</p>
  </blockquote>
  
  <p>I tried to clean and rebuild the project many times,but it do not works,
  I feel very confused about this,can anyone help me?</p>