libgdx:导入新生成的项目失败(eclipse)

mrphzbgm  于 2021-07-03  发布在  Java
关注(0)|答案(0)|浏览(237)

这是我的项目设置:

生成项目运行良好。之后,我尝试将其导入eclipseide。生成的项目是一个gradle项目,所以我做了以下操作:file->import->gradle->existing gradle project。我选择了文件夹“jagario game”,保留了默认的eclipse gradle设置(使用gradle Package 器版本6.7),然后单击“finish”。控制台显示以下内容:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

CONFIGURE SUCCESSFUL in 272ms
> Task :nothing UP-TO-DATE

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 403ms
Working Directory: F:\harry\Documents\Informatik\Jagario-Game
Gradle user home: C:\Users\harry\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 6.7
Java Home: C:\Program Files\Java\jdk-14.0.1
JVM Arguments: None
Program Arguments: None
Build Scans Enabled: false
Offline Mode Enabled: false
> Task :html:cleanEclipseWtpComponent
> Task :html:cleanEclipseWtpFacet
> Task :html:cleanEclipseWtp UP-TO-DATE
> Task :html:eclipseWtpComponent
> Task :html:eclipseWtpFacet
> Task :html:eclipseWtp

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 333ms
5 actionable tasks: 4 executed, 1 up-to-date

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

CONFIGURE SUCCESSFUL in 251ms

尽管有许多“build successful”和“configure successful”消息,但以下消息似乎是个问题:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

此外,我的项目没有生成(所有模块都丢失!):

我对gradle了解不多,所以我不知道如何修复这个错误。我用错grad尔版本了吗?或者这是一个eclipse错误?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题