github libgdx/gdx-liftoff v1.9.9.4
1.9.9.4: Improved Kotlin+Android support

latest releases: v1.14.0.6, v1.14.0.5, v1.14.0.4...
6 years ago

This release is a bugfix for an uncommon bug that could nonetheless be very frustrating when encountered. The copyAndroidNatives() task in Android's build.gradle wasn't getting called because of a change in what IntelliJ and/or Gradle (5.4.1) accept for valid plugin configuration. This was leading to APKs that built but instantly crashed when run, though I believe only when Kotlin was used with Android (the kotlin-android plugin was the issue). It has been fixed at least for projects that use the build.gradle to handle tasks. There were various constant warnings or errors in the eclipse and idea tasks for Android, so I just removed them from the Android build.gradle; using the IDE to build Android applications probably wouldn't even work for Eclipse and it would change with every update for IDEA. A quirk of the Android projects now is that they will preemptively copy Android natives to the folder where they are needed, and will do so before you build (actually, when you load the project). This is fairly quick, but may be unexpected.

There is a partially-known issue with LWJGL2 (legacy desktop) applications when run on MacOS; I suspect the default ApplicationAdapter template is doing no drawing at all, and so garbage VRAM is showing through in the window. It may go away if the screen is cleared as it normally is, but I don't have a Mac to test on. This doesn't happen for LWJGL3 (new desktop) or any other targets/platforms, so using LWJGL3 is even more encouraged.

Don't miss a new gdx-liftoff release

NewReleases is sending notifications on new releases.