title: Gradle Android Studio Integration
body: <p>Does anyone has any good step by step tutorial for integrating gradle with android studio. I am following this official google docs for setting up gradle:</p>
  
  <p><a href="http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Simple-build-files" rel="nofollow">http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Simple-build-files</a> and so far gradle keeps complaining at each step. I am not even sure about how the build.gradle file should look like for a simple hello world application.
  This is my current build.gradle file:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
  
      dependencies {
          classpath 'com.android.tools.build:gradle:0.5.6'
      }
  }
  
  apply plugin: 'android'
  
  android {
      compileSdkVersion 17
  }
  android {
      buildToolsVersion "17.0"
      compileSdkVersion 17
  }
  </code></pre>
  
  <p>Gradle is throwing the following error:</p>
  
  <pre><code> Error Code:
      1
    Output:
      /Users/xxx/Downloads/MyApplication/App/build/res/all/debug/values/values.xml:12: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
  </code></pre>
  
  <p>I am a newbie with respect to gradle.
  Any help is appreciated. Thanks</p>