title: Gradle build finished with 75 error(s) in 30 sec in android studio 1.0.1
body: <p>I am getting errors as below when i tried running my module,</p>
  
  <pre><code>Error:Gradle: Attribute "titleTextStyle" has already been defined
  Error:Gradle: Attribute "subtitleTextStyle" has already been defined
  [...]
  </code></pre>
  
  <p>In the project there are two modules ModuleA &amp; ModuleB
  ModuleA is library. ModuleB depend on ModuleA</p>
  
  <p>Build.gradle file of ModuleA</p>
  
  <pre><code>apply plugin: 'android-library'
  
  android {
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
      sourceSets {
          main {
              manifest.srcFile 'AndroidManifest.xml'
              java.srcDirs = ['src']
              res.srcDirs = ['res']
          }
      }
  }
  dependencies {
      compile files('libs/quickblox-android-sdk-core-2.0.jar')
      compile 'com.android.support:appcompat-v7:18.0.+'
  }
  </code></pre>
  
  <p>Build.gradle file of ModuleB</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 18
      buildToolsVersion "21.0.0"
      defaultConfig {
          applicationId "com.td.tdabslidingmenu"
          minSdkVersion 11
          targetSdkVersion 18
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  dependencies {
      compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
      compile 'com.android.support:support-v4:18.+'
      compile project(':sample-users')
  }
  </code></pre>
  
  <p>i tried commenting     compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
  and           compile 'com.android.support:appcompat-v7:18.0.+'
  separately as mentioned in other threads for each Run but no use...</p>