I started developing my game few years ago, with big pauses. There was no gradle back then, just simple java installation app. How can I find what is the version of LibGDX used?
Eclipse: Select all your projects in the package explorer, right click, then click Gradle -> Refresh All . This will download the libGDX version you specified in build. gradle and wire up the JAR files with your projects correctly.
First, make sure you've got Android Studio installed. If not, just go to https://developer.android.com/studio and download the latest version. Ok, now that we've got Android Studio, we've got to set up our project with LibGDX.
Strong compatibilityLibgdx is compatible with most platforms and implemented using standard JavaSE. It can run on Mac, Linux, Windows, Android, and IOS platforms. So, LibGDX offers a single API to target: Windows, Linux (including the Raspberry Pi), macOS, Android, iOS, and Web.
Here you go:
Gdx.app.log("Gdx version", com.badlogic.gdx.Version.VERSION);
The answer of Xoppa is correct but I find it a very uncomfortable way of checking versions. It would be nice if the LibGDX setup tool and the big website download button showed the version number since currently (as far as I am aware of) the only way to know the version is to create a project first and I find that rather obscure.
A way to know without executing any code is to check the build.gradle
file which "should" display the correct version number at line gdxVersion = 'x.x.x'
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With