How can I connect this library to my LibGDX project?

  • I have already tried through File-> Project Structure-> Dependencies. Maybe my hands are crooked and can't add it right there - BORSHEVIK
  • Is the link point correct? Your link opens an example from Google with a demonstration of working with Google Play game services. - temq
  • There is also an instruction on how to steal it, or did I miss something? - Barmaley
  • there is a manual on the page. And here dependencies, this is not a library, but samples. - pavlofff
  • Yes, that's x .... n. I cannot select point 4 for that instruction. 4) Select the BasicSamples directory - BORSHEVIK

1 answer 1

To add the BaseGameUtils library to your project:

  1. Clone BaseGameUtils to your computer
  2. In Android studio, select File> New> Import Module, then select BaseGameUtils.
  3. Add to build.gradle
dependencies { compile project(':BaseGameUtils') // ... } 
  1. Run Build> Make Project

All the same but in English can be found in the official documentation.

  • Thanks, it helped. But I did not find this article myself. - BORSHEVIK