title: How to add GooglePlayServices and BaseGameUtils libs to Android Studio 4.4
body: <p>I know that there is many tutorials..., but for Eclipse(I don't know why Google can't provide tutorial for their own tool)...
      Let's start from the beginning, I want to add score board and achievements to my game. I'm using Android Studio 4.4. My project structure looks like:</p>
  
  <pre><code>    NameProject
      -&gt; gradle
      -&gt; Name
      ---&gt; build
      ---&gt; libs
      ---&gt; src
      ---&gt; build.gradle
      -&gt; build.gradle //empty
      -&gt; settings.gradle
  </code></pre>
  
  <p>I pasted: <strong>google-play-services.jar</strong> from</p>
  
  <p>Android\android-studio\sdk\extras\google\google_play_services\libproject\google-play-services_lib\libs</p>
  
  <p>to <em>libs</em> folder(then right click -> add as library)</p>
  
  <p>After that I downloaded <a href="https://github.com/playgameservices/android-samples" rel="nofollow">samples</a> and pasted BaseGameUtils directory to libraries directory. 
      My project tree looks like:</p>
  
  <pre><code>    NameProject
      -&gt; gradle
      -&gt; libraries
      ---&gt; BaseGameUtils
      -&gt; Name
      ---&gt; build
      ---&gt; libs
      ---&gt; src
      ---&gt; build.gradle
      -&gt; build.gradle //empty
      -&gt; settings.gradle
  </code></pre>
  
  <p>I extended MainActivity class (BaseGameActivity) and imported:</p>
  
  <ol>
  <li>import com.google.example.games.basegameutils.BaseGameActivity;</li>
  <li>import com.google.example.games.tq.R;</li>
  </ol>
  
  <p>But Android Studio still can't see those libs...</p>
  
  <p>My <em>build.gradle</em> looks like:</p>
  
  <pre><code>    buildscript {
          repositories {
              mavenCentral()
          }
          dependencies {
              classpath 'com.android.tools.build:gradle:0.7.+'
          }
      }
      apply plugin: 'android'
  
      repositories {
          mavenCentral()
      }
  
      dependencies {
          compile 'com.android.support:support-v4:13.0.+'
          compile files('libs/GoogleAdMobAdsSdk-6.4.1.jar')
      }
  
      android {
          compileSdkVersion 19
          buildToolsVersion '18.1.1'
  
          defaultConfig {
              minSdkVersion 9
              targetSdkVersion 16
          }
      }
  
      dependencies {
          compile 'com.android.support:appcompat-v7:+'
          compile 'com.google.android.gms:play-services:4.1.32+'
      }
  </code></pre>
  
  <p>My <em>settings.gradle</em> file:</p>
  
  <pre><code>    include '(:libraries):BaseGameUtils', ':Name'
  </code></pre>
  
  <p>Can you explain me step by step, how to add those libraries?</p>
  
  <p>Thanks in advance.</p>