O'Reilly logo

Building a 3D Game with LibGDX by Elmar van Rijnswou, Andreas Krühlmann, Sebastián Di Giuseppe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Troubleshooting common problems

During development, we'll run into different kinds of problems. We will address a few common ones.

Gradle

When Gradle tasks fail and the error is not clear enough, you can try adding --debug to the tasks to expand the error description: for example, gradlew desktop:dist --debug.

A command that is useful for fixes is gradlew clean. You'll use this command often.

Gradle

Antivirus

It's confirmed that AVG Antivirus causes gradlew desktop:dist to fail. Add an exception to the antivirus.

IntelliJ

Sometimes, IDEs fail randomly; a solution that we found on IntelliJ IDEA is reindexing. You can click on File | Invalidate Caches / Restart… ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required