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 line, in the GameHelper class:
import com.google.android.gms.games.request.GameRequest;
More exactly, it says "cannot resolve symbol: request."
I'm pretty new to android development and android studio so sorry if it's a lousy question.
Edit 1
Ok, so i did what Scott Barta told me, but still got a "cannot resolve symbol: GameRequest."
.
On a simmilar topic i found that i should go to Project Structure -> modules -> dependencies -> plus sign -> module dependency and add my libraries file there as well.
Did that, and i got this:
"Gradle project refrsh failed: Cause: java.lang.StackOverflowError"
Other things i did was go to settings.gradle and add a
include ":libraries:BaseGameUtils"
In the build.gradle i added, in the dependencies tree
compile project(':libraries:BaseGameUtils')