我使用Gradle導入了Libgdx projecto。 後,我已經按照這些說明:https://github.com/libgdx/libgdx/wiki/Gradle-and-Intellij-IDEA#running-your-project使用Gradle導入時運行桌面libgdx
但是,它試圖推出的桌面版本時返回下一個錯誤:
(*自舉類是主類核心)
Information:Gradle: Executing tasks: [:desktop:assemble, :core:assemble]
Information:18/06/2015 10:29 - Compilation completed with 3 errors and 1 warning in 5s 37ms
Error:Gradle: Execution failed for task ':desktop:compileJava'.
Compilation failed; see the compiler error output for details. Warning:Gradle: [options] bootstrap class path not set in conjunction with -source 1.6
D:\workspace\delee\desktop\src\com\josemwarrior\delee\desktop\DesktopLauncher.java
Error:(5, 30) Gradle: error: cannot find symbol class Bootstrap
Error:(12, 28) Gradle: error: cannot find symbol class Bootstrap
我使用的Android 1.2.2工作室
當我執行「製作」按鈕,給了我一個錯誤:
D:\workspace\delee\desktop\src\com\josemwarrior\delee\desktop\DesktopLauncher.java
Error:(5, 30) error: cannot find symbol class Bootstrap
Error:(12, 28) error: cannot find symbol class Bootstrap 1 warning
Error:Execution failed for task ':desktop:compileJava'. Compilation failed; see the compiler error output for details.