我遵循了libgdx项目设置,当我将项目导入eclipse时,我遇到了这些错误,并且没有任何运气来寻找修复。
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files MainActivity.java /Spellcast-android/src/en/fred/spellcast line 1 Java Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files RobovmLauncher.java /Spellcast-robovm/src/en/fred/spellcast line 1 Java Problem
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project Spellcast-robovm Unknown Java Problem
The type com.google.gwt.core.client.EntryPoint cannot be resolved. It is indirectly referenced from required .class files GwtLauncher.java /Spellcast-html/src/en/fred/spellcast/client line 8 Java Problem
The project was not built since its build path is incomplete. Cannot find the class file for com.google.gwt.core.client.EntryPoint. Fix the build path then try building this project Spellcast-html Unknown Java Problem
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project Spellcast-android Unknown Java Problem
有谁知道我错过了什么?
答案 0 :(得分:7)
尝试这些,希望他们会帮助。
右键单击该项目,然后转到“属性”。在属性窗口中: