title: Problems trying to create gradle build
body: <p>We have recently migrated to Android Studio (from Intellij).  I am currently trying to migrate our project to use gradle for builds.  I have tried fitting it around our current folder structure, and I have tried to migrate our files to match the gradle file structure. </p>
  
  <p>I have had errors each way, I have been looking for an answer, but can't find anything that quite matches what we are getting.</p>
  
  <p>The error I get when trying to migrate to the gradle file structure is:</p>
  
  <ul>
  <li><p>What went wrong:</p>
  
  <p>A problem occurred configuring project ':'.</p>
  
  <blockquote>
    <p>Failed to notify project evaluation listener.
    Configuration with name 'default' not found</p>
  </blockquote></li>
  </ul>
  
  <p>The error I get using our old file structure is:</p>
  
  <pre><code>:&lt;project&gt;:processDebugResources
  /Users/kbrown/dev/AndroidClient/&lt;project&gt;/build/res/all/debug/values/values.xml:311: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ActionBar.Solid'.
  /Users/kbrown/dev/AndroidClient/&lt;project&gt;/build/res/all/debug/values/values.xml:312: error: Error: No resource found that matches the given name: attr 'background'.
  /Users/kbrown/dev/AndroidClient/&lt;project&gt;/build/res/all/debug/values/values.xml:314: error: Error: No resource found that matches the given name: attr 'backgroundSplit'.
  </code></pre>
  
  <p>Any ideas on where to look.  We do have a couple references to libraries like ActionBarSherlock.</p>
  
  <p>build.gradle</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.4'
      }
  }
  apply plugin: 'android'
  
  dependencies {
      compile files('libs/android-support-v4.jar')
      compile files('libs/retrofit-1.0.0-SNAPSHOT.jar')
      compile project(':ThirdParty:ActionBarSherlock')
      compile project(':ThirdParty:drag-sort-listview')
      compile project(':ThirdParty:SlidingMenu')
      compile project(':ThirdParty:Android-ViewPagerIndicator')
  }
  
  
  android {
      compileSdkVersion 17
      buildToolsVersion "17.0.0"
  
      defaultConfig {
          minSdkVersion 8
          targetSdkVersion 17
      }
  
      sourceSets {
          main {
              manifest.srcFile 'AndroidManifest.xml'
              resources.srcDirs = ['src']
              res.srcDirs = ['res']
  
          }
  
          instrumentTest.setRoot('../UnitTests/src')
      }
  }
  </code></pre>
  
  <p>settings.gradle</p>
  
  <pre><code>include ':library:Android-ViewPagerIndicator',':library:SlidingMenu',':library:drag-sort-listview',':library:ActionBarSherlock',':&lt;project&gt;'
  </code></pre>
  
  <p>Any ideas would be appreciated.</p>