For this tutorial I am assuming you have an IDE and have Java installed. If this is not the case and you're having some
difficulties getting everything set up let me know and I'll try to help as soon as possible.
If you haven't downloaded the LibGDX setup app go to http://libgdx.badlogicgames.com/download.html and download the setup app. Run the setup app and for convenience you can copy the names of the game, package and Game class to match my names (see picture) or give them your own names.
Choose a destination for your project and make sure you point the setup app to your Android SDK location.
For sub projects just check/uncheck those projects that you want (e.g. no use to have the set up app build you the iOS project if you are only want to develop for Android). Box2D is checked by default, but we wont be using that extension in this project so you can uncheck it. Once you press Generate the setup app will create a new LibGDX project for you with the specified sub projects.
If you are using Eclipse as your preferred IDE and you haven't installed the Gradle plug-in yet go to
Help -> Install New Software and enter:
http://dist.springsource.com/release/TOOLS/gradle as the url at the.
Only select Gradle IDE under Extensions / Gradle Integration (no need to install Spring).
Click next and accept the license agreement to install the new software. You might need to restart Eclipse.
Once you've installed the Gradle plugin import your newly created LibGDX project (File -> Import or by right-clicking on the package explorer
and selecting import) by selecting the Gradle -> Gradle Project option.
Browse to the directory where you created your project, select Build Model select the projects you want to build (usually all of them) and click on finish.
You should now at least have a Core and Desktop project within your Package Explorer, plus whichever project you've checked and had the LibGDX project setup generate for you.
One thing I can recommend you to do - if you haven't yet - is to change Eclipse's launch setting so that Eclipse will always run the last launched application with the F11 hot key so you can work faster. Go to Window -> Preferences and select the Launching section under Run/Debug and under Launch Operation set Launching to "Always launch the previously launched application".
Now we've come this far we're ready to start coding. We'll do that in the next section, so if you don't have any questions let's move on.