title: Android studio gives error when i add dependencies to build.gradle
body: <p>I am trying to add AdMob sdk to my android project using Android SDK.
  Here is what is did.</p>
  
  <ol>
  <li>i added admob jar file to the lib folder.</li>
  <li>added as module</li>
  <li>then added dependencies to my build.gradle.</li>
  </ol>
  
  <p>Below is the build.gradle file looks as</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.5.+'
  
      }
  
  }
  apply plugin: 'android'
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      compile 'com.android.support:support-v4:13.0.+'
  }
  
  dependencies{
      compile files('libs/android-support-v4.jar','libs/GoogleAdMobAdsSdk-6.4.1')
  }
  
  
  android {
      compileSdkVersion 17
      buildToolsVersion "17.0.0"
  
      defaultConfig {
          minSdkVersion 7
          targetSdkVersion 16
      }
  }
  </code></pre>
  
  <p>Below is the error.</p>
  
  <pre><code>Gradle 'StoriesIndian' project refresh failed:
             Could not fetch model of type 'IdeaProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
             Build file 'C:\Users\lokesh\Desktop\MyStoryProject\StoriesIndianProject\StoriesIndian\build.gradle' line: 11
             A problem occurred evaluating project ':StoriesIndian'.
             A problem occurred evaluating project ':StoriesIndian'.
             No signature of method: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.compile() is applicable for argument types: (org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection) values: [file collection]
             Possible solutions: module(java.lang.Object
  </code></pre>
  
  <p>)</p>
  
  <p>Please help, what do to make it work and where to include module java.lang.object.
  thanks</p>