hushaojie04 / libgdx

Automatically exported from code.google.com/p/libgdx
0 stars 0 forks source link

Errors creating a new GWT project #1120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just trying to test the engine but with no luck with errors created when 
creating a new project. I am using the newest nightly build and most updated 
eclipse. I have 4 errors:

1. "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" this error is in "[project name]-html"

2. "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" this error is in "[project name]-android"

3. "The type com.google.gwt.core.client.EntryPoint cannot be resolved. It is 
indirectly referenced from required .class files" on element "GwtLauncher.java" 
deep down in the "[project name]-html" folders ".../src/com/me/[project 
name]/client"

4. "The type java.lang.Object cannot be resolved. It is indirectly referenced 
from required .class files" deep down in the "[project name]-android" folders 
".../src/com/me/[project name]"

[project name] is just what ever the name of the project is I just use that so 
its easier to read and not get hungup on the project name.

Im sorry for having to ask but I am new to this engine and eclipse, and so far 
I havnt seen mention of this anywhere or where to find something that would 
tell me how to fix these.

Original issue reported on code.google.com by blaz0...@gmail.com on 11 Nov 2012 at 3:22

GoogleCodeExporter commented 9 years ago

Original comment by nathan.s...@gmail.com on 11 Nov 2012 at 10:47

GoogleCodeExporter commented 9 years ago
Did you install the GWT plugin for Eclipse? 

Also, concering usage issues you should generally ask on the forums. The issue 
tracker is here to report bugs you can reproduce. I understand though that as a 
beginning user it's hard to tell what kind of issue you ran into :)

Original comment by badlogicgames on 11 Nov 2012 at 4:31

GoogleCodeExporter commented 9 years ago
Welp, here's the link to the section in the wiki that explains project setup 
http://code.google.com/p/libgdx/wiki/ProjectSetupNew. Make sure you also have 
GWT installed https://developers.google.com/eclipse/docs/download?hl=de

Original comment by badlogicgames on 15 Nov 2012 at 5:54

GoogleCodeExporter commented 9 years ago
Thank you. Sorry I haven't been able to respond I have been busy since I asked. 

I do know about the 2 pages (1 before asking 1 after you saying I needed GWT) 
you meantioned they just haven't worked for me because 1 the Project Setup New 
page isn't upgradded to the newer stuff and (at least I didn't see) it doesn't 
mention anything about having to go get GWT and I have now tried to install 
that too but it gave more complaints about that as well.

Though I did forget about the forums and when I get the chance I might look 
there to see if I can find an answer to my problems, or a tutorial on how to 
install it with the new stuff (also I think it might be that eveyone assumes 
you know how to use eclipse and have all that added stuff for it installed 
already so at least for me the tutorials are a little confusing).

Original comment by blaz0...@gmail.com on 16 Nov 2012 at 11:12

GoogleCodeExporter commented 9 years ago
Familiarity with Eclipse and Java is pretty much what we require as prior 
knowledge i'm afraid. A few resources that might help:

Excellent Eclipse tutorial by Lars Vogel: 
http://www.vogella.com/articles/Eclipse/article.html

Once you are past that, you know how to write desktop Java apps with Eclipse. 
The next thing you want to look into is a minimal understanding of how to write 
Android apps with Eclipse. For this i suggest following this guide 
http://developer.android.com/training/index.html, the first 2-3 articles are 
usually sufficient to get an idea.

Equipped with this knowledge you can then follow this tutorial 
http://code.google.com/p/libgdx/wiki/SimpleApp

Sorry, it's really hard to cater to all demographics. Libgdx is aimed at "a bit 
above absolute beginner level" to intermediate level game programmers.

Original comment by badlogicgames on 17 Nov 2012 at 12:45