title: Error: Configuration with name 'default' not found in Android Studio
body: <p>I am using the volley library to perform network operation in android. So I am trying to add this library in my project  which is created in Android Studio and gradle system.</p>
  
  <p>I added the volley library in my project but when I sync with gradle then I am getting error message. I tried all the answers which I see here but nothing worked for me.</p>
  
  <p><strong>Error message</strong> : Configuration with name 'default' not found in Android Studio</p>
  
  <p>Volley/build.gradle</p>
  
  <pre><code>apply plugin: 'android-library'
  
  android {
  
      compileSdkVersion 19
      buildToolsVersion '19.0.1'
  
      sourceSets {
          defaultConfig {
              minSdkVersion 8
              targetSdkVersion 19
          }
  
          main {
              assets.srcDirs       = ['assets']
              res.srcDirs          = ['res']
              aidl.srcDirs         = ['src']
              resources.srcDirs    = ['src']
              renderscript.srcDirs = ['src']
              java.srcDirs         = ['src']
              manifest.srcFile 'AndroidManifest.xml'
  
          }
      }
  }
  </code></pre>
  
  <p>app/build.gradle</p>
  
  <pre><code>apply plugin: 'android'
  
  android {
      compileSdkVersion 19
      buildToolsVersion '19.0.1'
  
      defaultConfig {
          minSdkVersion 8
          targetSdkVersion 19
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              runProguard false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  
  dependencies {
      compile 'com.android.support:appcompat-v7:19.+'
      compile project(':library:volley')
  }
  </code></pre>
  
  <p>root/build.gradle</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.9.1'
      }
  }
  
  allprojects {
      repositories {
          mavenCentral()
      }
  }
  </code></pre>
  
  <p>settings.gradle</p>
  
  <pre><code>include ':app'
  include ':library:volley'
  </code></pre>