Every time I try to import a project downloaded from googlecode into Eclipse but I get some errors:
The project was not built since its build
Steve's answer does help for some projects, but still, for some projects, it remains the same. I guess that projects were previously build-in early JDK 1.5 (in my case). But I found a workaround for them:
import
block.AndroidManifest.xml
).You just exit eclipse once or twice to reload. It works for me.
I was having target-18 in my project.properties. But I wasn't having android-18 sdk. So I changed 18 to some other version which I had in my SDK manager, and it fixed the issue.
Right click on project -> Properties -> Java Build Path (From Left List) -> Libraries (Tab) -> Add Library (Button on right) -> JRE System Library -> Next -> Workspace default JRE -> Finish
This should solve at least one of your errors. Any others might require you to add further libraries.
Hope this helps.
Goto eclipse → Preferences → Java → Build path.
Do you see a JRE_LIB
configured there? If not, add JRE_LIB
from JDK/jre
lib
location. These can be overridden per project. It seems your eclipse isn't aware of Java libraries.
I encountered with the similar problem..... Make sure that
If the first step is clear, then go for this.....