title: Set google play services in Android Studio?
body: <p>I am following these two links to set up the play services</p>
  
  <p><a href="https://developer.android.com/google/play-services/setup.html" rel="nofollow">Setting Up Google Play Services</a></p>
  
  <p><a href="https://developer.android.com/google/auth/api-client.html#Starting" rel="nofollow">Accessing Google APIs</a></p>
  
  <p>But it is unable to find google api client class</p>
  
  <p>THis is my gradle </p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 21
  buildToolsVersion "21.1.2"
  
  defaultConfig {
      applicationId "com.example.wishygupta.myapplication"
      minSdkVersion 15
      targetSdkVersion 21
      versionCode 1
      versionName "1.0"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  
  dependencies {
  compile fileTree(include: ['*.jar'], dir: 'libs')
  compile 'com.android.support:appcompat-v7:21.0.3'
  compile 'com.google.android.gms:play-services:6.5.87'
  }
  </code></pre>
  
  <p>This is my manifest</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.wishygupta.myapplication" &gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;meta-data android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/app_name" &gt;
  
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
      &lt;/manifest&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>