Skip to content Skip to sidebar Skip to footer

Importing Games.request

I'm using Android Studio and tried to import Google Play Game Services into my application. Imported BaseGameUtils folder in the libraries and now I have an error at the following

Solution 1:

I'm not sure how you're including the Google Play Services library, but the correct way is:

  • Ensure that the "Google Repository" is installed in the SDK manager
  • File > Project Structure > Modules > Dependencies > + button > Library dependency,
    then choose "Google Play Services" from the list. enter image description here

Solution 2:

I just ran into the same problem. What fixed it for me was updating the google play-services to a newer version. Check your build.gradle file and see if it's using an older version in the dependencies. If so, try replacing it with

compile 'com.google.android.gms:play-services:4.3+'


Solution 3:

Try manually executing gradle from your app directory to get more information about what's going wrong.

./gradlew --info --stacktrace assembleDebug


Post a Comment for "Importing Games.request"