Skip to main content
1 of 3

Import and run libgdx project in IntelliJ

I follow this guide (https://github.com/libgdx/libgdx/wiki/Gradle-and-Intellij-IDEA) to import demos project (https://github.com/libgdx/libgdx/wiki/Running-Demos), but in this step (Set the field Use classpath of module to desktop, then click on the button of the Main class field and select the DesktopLauncher class.), there is no desktop module in the list, so i can't run the imported project because i have to create a custom run configuration named "Desktop" with the module "desktop" and the main class "DesktopLauncher"...