Danial Malik
Danial Malik

Reputation: 31

getting started with libGDX - project generator is failing to build

I'm trying to use the gdx-setup.jar program to generate a libGDX project. The destination of my sdk is configured properly, I've specified sub projects as Android and Desktop and selected IDEA to generate IntelliJ project files for use with Android studio.

When I click generate, libgdx tells me that the project failed to build. The exact output is below:

Generating app in C:\Users\Danial\Documents\Java Android\test Executing 'C:\Users\Danial\Documents\Java Android\test/gradlew.bat clean --no-daemon idea' To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.4.1/userguide/gradle_daemon.html. Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 4s Done! To import in Eclipse: File -> Import -> General -> Existing Projects into Workspace To import to Intellij IDEA: File -> Open -> YourProject.ipr

Upvotes: 3

Views: 1355

Answers (1)

Chenhe
Chenhe

Reputation: 1043

The same error. I juse ignore it and open the project in IDE (android studio), it will sync automatically.

QA:

New Gradle Sync is not supported due to containing Kotlin modules using an unsupported plugin version

Go to File - Settings - Kotlin Compiler - Target JVM Version, set to 1.8.

No Desktop launch option

Follow the official tutorial to add a Configuration.

Upvotes: 1

Related Questions