title: Error in adding dependency in android
body: <p>When I have following code gradle is build successfully.</p>
  
  <pre><code>ext {
      supportLibVersion = '23.2.1'  // variable that can be referenced to keep support libs consistent
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile "com.android.support:appcompat-v7:${supportLibVersion}"
      compile "com.android.support:design:${supportLibVersion}"
      compile 'pl.pawelkleczkowski.customgauge:CustomGauge:1.0.1'
      compile "com.android.support:recyclerview-v7:${supportLibVersion}"
      compile "com.android.support:cardview-v7:${supportLibVersion}"
      compile 'com.rengwuxian.materialedittext:library:2.1.4'
      compile 'com.loopj.android:android-async-http:1.4.9'
      compile 'com.wdullaer:materialdatetimepicker:2.3.0'
  
  
  
  }
  </code></pre>
  
  <p>But when I added below dependency it stated giving me error.</p>
  
  <pre><code> compile 'com.afollestad.material-dialogs:core:0.8.5.9'
  </code></pre>
  
  <p>error</p>
  
  <pre><code>Error:Failed to resolve: com.android.support:appcompat-v7:23.4.0
  &lt;a href="install.m2.repo"&gt;Install Repository and sync project&lt;/a&gt;&lt;br&gt;&lt;a href="openFile"&gt;Open File&lt;/a&gt;&lt;br&gt;&lt;a href="open.dependency.in.project.structure"&gt;Show in Project Structure dialog&lt;/a&gt;
  </code></pre>
  
  <p>Any suggestions.
  Thanks</p>
  
  <p>complete gradle file</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.2"
  
      defaultConfig {
          applicationId "com.zriton.udhaar"
          minSdkVersion 15
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  ext {
      supportLibVersion = '23.2.1'  // variable that can be referenced to keep support libs consistent
  }
  repositories {
      jcenter()
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile "com.android.support:appcompat-v7:${supportLibVersion}"
      compile "com.android.support:design:${supportLibVersion}"
      compile 'pl.pawelkleczkowski.customgauge:CustomGauge:1.0.1'
      compile "com.android.support:recyclerview-v7:${supportLibVersion}"
      compile "com.android.support:cardview-v7:${supportLibVersion}"
      compile 'com.rengwuxian.materialedittext:library:2.1.4'
      compile 'com.loopj.android:android-async-http:1.4.9'
      compile 'com.wdullaer:materialdatetimepicker:2.3.0'
  
  
  
      compile 'com.afollestad.material-dialogs:core:0.8.5.9'
  
  }
  </code></pre>