libgdx gwt install error eclipse - java

I'm trying to make a libgdx Android project work (= build) on Eclipse. It's the project from the book "Libgdx Game Development" : I just opened the GDX set up GUI and created a project named "demo".
I get two errors about GWT in the "Problems" Tab, in the demo-html project :
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
2.The type com.google.gwt.core.client.EntryPoint cannot be resolved. It is indirectly referenced from required .class files
I have GWT Designer for GPE, Google Plugin for Eclipse and SDKS installed in the plug-in tab (from the Help > Install new Software), so I have no idea why it doesn't work.
All the questions that had those error messages were resolved by downloading the plug-ins I quoted, but in my case, they are downloaded and installed (can't re-install them since it tells me it is already installed) and I hit also already checked for updates.
Thanks in advance.

Related

Cannot create Dynamic Web Project on Eclipse, project facet already installed

So I am new to working with web and server related projects and I am trying to create a new Dynamic Web Project on the Eclipse IDE.
After clicking finish on the "new dynamic web project" window, a new project is created (though it is missing most folders) and the window remains open. If I hit Finish again, I am prompted with this error: "Cannot install project facet Java 10. Some version of this project is already installed."
If I simply close the window, after the project is created, it lacks files I am seeing in examples online, and I cannot create a new servlet for it.
The following query: "Cannot install project facet" error while creating a project?
Is not really helpful as it relates to creating a project from existing code and that seemed to be the source of the issue.
I already tried using different project names, and web module version but no luck.
Any help would be appreciated
As mentioned in the comments the problem was indeed with the version.
Updating to the latest version of Eclipse IDE for Enterprise Java and Web Developers fixed the issue.

Errors with importing Android project in eclipse

We had someone develop an Android app for us and although I have all his project files I cannot seem to get rid of the many warnings and errors that appear after import his project.
I am not a Java programmer nor have I ever used Eclipse, so I'm running pretty blind here, but I need to fix a couple of bugs that I at least managed to find in the code.
The developer saved his workspace as well as the Eclipse exe and all the jar files in a folder structure. What I have tried to so far is:
Copied all his Windows folder structure onto my Windows machine
Opened up the Kepler Eclipse exe in this folder structure
Set the workspace to the existing "Workspace" folder in this structure
Updated a bunch of .jar paths that were showing up as errors from his paths to my new paths (this resolved those errors)
Installed API 19 in the SDK manager (and selectved it) in order to get rid of android-19 errors
Added the Workspace default JRE in the Java Build Path section as there was none there and to try and get rid of the "Build path specifies execution environment J2SE-1.4. There are no JREs installed in the workspace that are strictly compatible with this environment." warning that I suspect is related to the over 200 resolve type errors I am getting.
I've searched the forums to no avail. Any guidance would be appreciated.

Eclipse Android Project Java Buid Issue

Just installed Eclipse Luna on a new computer with Ubuntu 14.10.
Copied my workspace over.
My projects will not build. The Console continues to show "Java Problem."
For example one of the 500ish errors with Java Problem:
Animator cannot be resolved to a type DefaultClusterRenderer.java /library/src/com/google/maps/android/clustering/view line 882 Java Problem
And it says the same "Java Problem" for about 500 more lines.
I have:
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
as my java path and I also have a copy of the JRE folder with contents within the eclipse folder.
What am I leaving out? My projects were building fine on my old computer.
When importing a workspace into a new computer or version of Eclipse, make sure that your target build versions are the same as in your previous workspace. This project required the Google Play Services Library and a Google Maps Library. Both of which had been marked with a target build of a deprecated version of Android.
Right clicking properties on your project and then selecting Android will allow you to change the build target as needed.

Android Project with ActionBarSherlock doesn't get built

I implemented the current version of ActionBarSherlock to my Android Project.
Everything works fine and I don't get any errors.
But when I try to debug or export my project I don't get an .apk-file out of my project. Just a .jar-file with the name of my project.
I've read about some problems the SDK had with building projects that contain external libraries but this was at SDK version 14 and so I hope, this bug is fixed...
So there might be another cause for this problem.
Does anybody know a possible solution?
You cannot get *.jar file as the result of building Android project. This seems very strange to me. There must be something wrong with your project settings (if you changed them), or the project you build is of the wrong type (i.e. it is Java Application instead of Android Application).
You didn't mention which IDE do you use, but I assume you use Eclipse.
Make sure you have installed Android SDK and Eclipse ADT correctly (just in case).
Next thing to try is to create a new Android Application project from existing sources (there should be such option during the process of creation).

beginner at vaadin- getting error when I try to create a vaadin app

I am trying to create a UI for a java web app using Vaadin.
I am using Eclipse for this purpose, and I have installed the Google Plugin for Eclipse (which includes GWT SDK) as well as the Vaadin plugin for eclipse.
I created a new project using New Project-> New Vaadin Project... but I am seeing an error message in Eclipse console "GWT SDK not installed."
How do I resolve this error? I have already installed Google Plugin for Eclipse which includes GWT SDK.
Thanks...
Check in 'Preferences->Google->Web Toolkit' if you have existing SDK marked as default. Sometimes, after installing or unistalling other plug-ins, this may get reset to some older, not anymore existing, SDK version.
Also, make sure you have the default (or any other existing SDK) selected in project properties under 'your project->properties->Google->Web Toolkit->GWT SDK'.
Today I resolved this issue (which cropped up after a GWT SDK update on a perfectly working setup) by going to project Properties/Builders and moving the GWT "Google Web Toolkit Project Validator" up to just below Java Builder. I'd tried everything I could think of before that, including uninstalling and re-downloading the SDK, checking default and specific SDK's, trying older ones, editing .classpath entry manually.
Just in case poor some soul follows the path I went through. Using Eclipse Indigo.
help->check for updates
Update all libraries
then:
right-click the project, choose Project Properties->Java Build Path->Libraries
remove invalid GWT library, if any
choose Add Library, choose Google Web Toolkit
If an unknown version of the sdk is selected, click the Configure SDKs link and remove old versions or at least select the current, valid version.
Then, do a Project->clean just to be on the safe side, and your project should now build.
This worked for me using Eclipse Helios.

Categories

Resources