title: Cannot Resolve import com.google.android.gms
body: <p>I made a game with using Libgdx library. Now I want to add a leader board table to my game. For doing this I followed this tutorial : <a href="https://www.versionpb.com/tutorials/step-step-tutorials-libgdx-basic-setup-libgdx/implementing-google-play-services-leaderboards-in-libgdx/" rel="nofollow noreferrer">here</a></p>
  
  <p>But in that tutorial I stuck at step 29. Because my imports doesn't resolved. </p>
  
  <pre><code>import com.google.android.gms.common.ConnectionResult;
  import com.google.android.gms.common.GooglePlayServicesUtil;
  import com.google.android.gms.common.api.GoogleApiClient;
  import com.google.android.gms.drive.Drive;
  import com.google.android.gms.games.Games;
  import com.google.android.gms.games.Games.GamesOptions;
  import com.google.android.gms.games.GamesActivityResultCodes;
  import com.google.android.gms.games.multiplayer.Invitation;
  import com.google.android.gms.games.multiplayer.Multiplayer;
  import com.google.android.gms.games.multiplayer.turnbased.TurnBasedMatch;
  import com.google.android.gms.games.request.GameRequest;
  import com.google.android.gms.plus.Plus;
  import com.google.android.gms.plus.Plus.PlusOptions;
  </code></pre>
  
  <p>For example , After I write <code>import com.google.android.gms.games</code> and write <code>.</code> , only two hints show up to me : <code>R</code> and <code>*</code>.</p>
  
  <p>In sdk manager , Google Play Services has already installed.(I use Android Studio)</p>
  
  <p>Also,It is my projects build.gradle for Android : </p>
  
  <pre><code>   project(":android") {
      apply plugin: "android"
  
      configurations { natives }
  
      dependencies {
          compile "com.google.android.gms:play-services-games:15.0.1"// I think this line should solve all imports problem, but it can't
          compile "com.google.android.gms:play-services-auth:16.0.0"
          compile "com.google.android.gms:play-services-auth:11.6.0"
          compile 'com.google.android.gms:play-services:+'
  
          compile project(":core")
          compile "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
          natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
          natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
          natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
          natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
          natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
          compile "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
          natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
          natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
          natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-arm64-v8a"
          natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
          natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86_64"
  
      }
  }
  </code></pre>
  
  <p>What can I do for solve this problem?</p>