Android build errors

Jazzmine picture Jazzmine · Aug 4, 2012 · Viewed 20.8k times · Source

I'm getting these errors when trying to build my app in Eclipse. Things started going downhill when the compiler warned me that my .project file was missing.

Then I tried to fix the project and now am getting these errors:

Errors occurred during the build. Errors running builder 'Android Resource Manager' on project 'net.learn2develop.Layouts.LayoutsActivity'. Preference node "org.eclipse.jdt.core" has been removed. Errors running builder 'Android Pre Compiler' on project net.learn2develop.Layouts.LayoutsActivity'. Path must include project and resource name: /net.learn2develop.Layouts.LayoutsActivity Errors running builder 'Java Builder' on project 'net.learn2develop.Layouts.LayoutsActivity'. Preference node "org.eclipse.jdt.core" has been removed.

I only have a red x at the top of my project, but not for any individual files within the project.

Any advice on how to recreate my .project file or resolve these Preference node errors?

I'm new to Android/Eclipse so details would be helpful.

Thanks

Answer

Alain Beauvois picture Alain Beauvois · Oct 26, 2013

Works for me : File -> Properties -> Java Compiler -> Configure Workspace Settings ...

Then Restore Default, Apply and restart Eclipse.