title: Multiple errors during the gradle sync when I try to add Google Service library to the dependencies
body: <p>I want to add to my app some ads using AdMob, the site says I need to add Google Services to the dependencies to use this functionality. So with Android Studio I went to File->Project Structure->app->Dependencies, I clicked on the "+" button e searched for "play-services". What I found was "com.google.android.gms:play-services:9.4.0" so I added it to the dependencies. During the gradle sync however Android Studio sends some errors and stops the gradle sync.</p>
  
  <p>This is the log I get form the sync: <a href="http://pastebin.com/ZpN4RUcm" rel="nofollow">http://pastebin.com/ZpN4RUcm</a></p>
  
  <p>Here some data that might be useful:</p>
  
  <ul>
  <li>Compile SDK Version: API 17  </li>
  <li>Build Tools Version: 23.0.1 </li>
  <li>Android
  Studio 2.1.2</li>
  </ul>
  
  <p>This is my main gradle file:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      dependencies {
              classpath 'com.android.tools.build:gradle:2.1.2'
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>
  
  <p>And this is my app gradle file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 'Google Inc.:Google APIs:17'
      buildToolsVersion '23.0.1'
  
      defaultConfig {
          applicationId "com.serpenssolida.glowdodger"
          minSdkVersion 10
          targetSdkVersion 17
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
              }
         }
     }
  
     repositories {
         mavenCentral()
     }
  
     dependencies {
         compile 'com.android.support:support-v4:17.0.0'
         compile files('libs/processing-core.jar')
         compile project(':facebook')
         compile 'com.google.android.gms:play-services:9.4.0'
     }
  </code></pre>
  
  <p>How can I get rid of all the errors?</p>